Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4852 Vues

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 ? 

Avatar
Ignorer
Auteur Meilleure réponse

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

})

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
nov. 23
38
1
mai 23
2558
0
févr. 16
5642
1
avr. 24
2087
1
févr. 22
5305