Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5515 Переглядів

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 ? 

Аватар
Відмінити
Автор Найкраща відповідь

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

})

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
лист. 23
38
1
трав. 23
3035
0
лют. 16
6234
1
квіт. 24
2641
1
лют. 22
5844