Sha256: 30572101eb7a56b7f218956585da79334bb2b1e60afb80fd163329387e7d782f
Contents?: true
Size: 675 Bytes
Versions: 4
Compression:
Stored size: 675 Bytes
Contents
// Generated by CoffeeScript 1.3.3 (function() { var Spine; Spine = this.Spine || require('spine'); Spine.Model.Local = { extended: function() { this.change(this.saveLocal); return this.fetch(this.loadLocal); }, saveLocal: function() { var result; result = JSON.stringify(this); return localStorage[this.className] = result; }, loadLocal: function() { var result; result = localStorage[this.className]; return this.refresh(result || [], { clear: true }); } }; if (typeof module !== "undefined" && module !== null) { module.exports = Spine.Model.Local; } }).call(this);
Version data entries
4 entries across 4 versions & 1 rubygems