Sha256: d71fcc041843e5732838b0c291d1d322189950c574b45f60743206f8dead6bd2
Contents?: true
Size: 602 Bytes
Versions: 26
Compression:
Stored size: 602 Bytes
Contents
var handlers, model, persistable, record; require('./queryable'); handlers = { store_after_saved: function() { var storage; storage = model[this.resource.toString()].storage; if (this._id) { return storage.store(this._id, this); } } }; persistable = { record: { after_initialize: function() { return this.after('saved', handlers.store_after_saved); } } }; model = window.model; record = window.record; model.persistable = true; model.mix(function(modelable) { return modelable.record.after_initialize.push(persistable.record.after_initialize); });
Version data entries
26 entries across 26 versions & 1 rubygems