You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
331 B
JavaScript

define([
'underscore',
'backbone',
'marionette'
], function (_, Backbone, Marionette) {
var Obj = Marionette.Object;
var Model = Backbone.Model;
function BaseModel() {
Model.apply(this, arguments);
}
BaseModel.prototype = new Model();
_.extend(BaseModel.prototype, Obj.prototype);
return BaseModel;
});