Sha256: db6fce6370e31556df4b395dc358cae0bd65c543ae221390ca6585d451e80048

Contents?: true

Size: 266 Bytes

Versions: 109

Compression:

Stored size: 266 Bytes

Contents

var lalala_storage;

try {
  lalala_storage = JSON.parse(localStorage.lalala);
} catch(e) {}

if (!lalala_storage) {
  lalala_storage = {};
}

$(window).unload(function(){
  localStorage.lalala = JSON.stringify(lalala_storage);
});

module.exports = lalala_storage;

Version data entries

109 entries across 109 versions & 1 rubygems

Version Path
lalala-4.0.0.dev.269 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.267 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.264 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.260 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.258 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.256 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.255 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.254 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.249 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.246 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.244 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.243 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.242 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.240 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.239 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.236 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.231 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.229 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.227 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.224 app/assets/javascripts/lalala/modules/storage.module.js