Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4873 Prikazi

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
Opusti
Avtor Best Answer

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
nov. 23
38
1
maj 23
2561
0
feb. 16
5646
1
apr. 24
2097
1
feb. 22
5318