Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4809 Tampilan

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
Buang
Penulis Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Nov 23
38
1
Mei 23
2495
0
Feb 16
5601
1
Apr 24
2021
1
Feb 22
5260