Skip to Content
Menu
This question has been flagged
1 Atsakyti
4901 Rodiniai

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 ? 

Portretas
Atmesti
Autorius 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

})

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
lapkr. 23
38
1
geg. 23
2573
0
vas. 16
5705
1
bal. 24
2146
1
vas. 22
5371