Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4792 Vistas

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
Descartar
Autor Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
nov 23
38
1
may 23
2477
0
feb 16
5585
1
abr 24
2013
1
feb 22
5233