Hello community ,
I'm trying to extend this class to add some functions exports.Order = Backbone.Model.extend({ it is difrrent from the most of the classes how we can extend this type of classes ?
Hello community ,
I'm trying to extend this class to add some functions exports.Order = Backbone.Model.extend({ it is difrrent from the most of the classes how we can extend this type of classes ?
I've found a solution for people who need this:
var models = require('point_of_sale.models');
models.Order = models.Order.extend({
// your code here
})
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
0
Nov. 23
|
38 | |||
|
1
Mai 23
|
3976 | |||
|
0
Feb. 16
|
7409 | |||
|
1
Apr. 24
|
3943 | |||
|
1
Feb. 22
|
6953 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.