Marvin
02/12/2024, 9:17 PMreturn Backbone.Model.extend({
....
}, Singleton);
Not sure how to create in the newer syntax.
var SCModel = SCModelModule.SCModel;
function ExtensionModule() {
SCModel.call(this);
}
Viraj Shinde
02/14/2024, 10:38 AMMarvin
02/14/2024, 7:40 PMGaston Mosteiro
04/01/2024, 6:30 PMvar SCModel = SCModelComponent.SCModel;
function MySCModel() {
SCModel.call(this);
}
MySCModel.prototype = Object.create(SCModel.prototype);
MySCModel.prototype.constructor = MySCModel;
return _.extend(MySCModel, Singleton)