Sha256: 493c2d4edb2c9fef0c4beed05bae3c21d78f00b88c0208197b3bb36b10c51db4
Contents?: true
Size: 765 Bytes
Versions: 1
Compression:
Stored size: 765 Bytes
Contents
var schema = require('./support/schema'); /** * Extension of {Backbone.Model} which includes various Booster features * functionality like schema support. An application can choose to extend * its models from this constructor rather than {Backbone.Model} or it * may use the corresponding mixins like this extension does. * * @extends {Backbone.Model} * @constructor */ exports.Model = Backbone.Model.extend({ }); _.extend(exports.Model.prototype, schema.mixin()); /** * Although empty, it may be a good idea to extend from this type instead * if we introduce functionality in the future which works together with * {exports.Model}. * * @extends {Backbone.Collection} * @constructor */ exports.Collection = Backbone.Collection.extend({ });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
booster-0.0.1 | lib/assets/javascripts/booster/model.js.boost |