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.219 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.218 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.217 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.216 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.215 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.212 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.208 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.202 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.201 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.198 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.195 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.194 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.193 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.192 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.191 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.190 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.189 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.188 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.187 app/assets/javascripts/lalala/modules/storage.module.js
lalala-4.0.0.dev.186 app/assets/javascripts/lalala/modules/storage.module.js