Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4840 Vizualizări

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 ? 

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

})

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
nov. 23
38
1
mai 23
2557
0
feb. 16
5641
1
apr. 24
2075
1
feb. 22
5299