Skip to Content
मेन्यू
This question has been flagged

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
Discard
Author 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
Discard
Related Posts Replies Views Activity
0
नव॰ 23
38
1
मई 23
2496
0
फ़र॰ 16
5601
1
अप्रैल 24
2021
1
फ़र॰ 22
5260