コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4903 ビュー

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

})

アバター
破棄
関連投稿 返信 ビュー 活動
0
11月 23
38
1
5月 23
2573
0
2月 16
5710
1
4月 24
2146
1
2月 22
5371