Sha256: 93b964de2f7cf46ec2fe187cb4c667ba46d10d55f12f1d0f2243764ed516acd3

Contents?: true

Size: 219 Bytes

Versions: 16

Compression:

Stored size: 219 Bytes

Contents

'use strict';

var SerializedStorage = {
  set: function(k, v) {
    localStorage.setItem(k, JSON.stringify(v));
  },
  get: function(k) {
    return JSON.parse(localStorage.getItem(k));
  },
  storage: localStorage
};

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
aleph_analytics-0.4.9.pre.dev app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.4.8 app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.4.7 app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.4.4 app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.4.2 app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.4.1 app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.3.0 app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.2.0 app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.1.0 app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.0.6 app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.0.5 app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.0.4 app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.0.3 app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.0.2 app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.0.1.alpha app/assets/javascripts/lib/serialized_storage.js
aleph_analytics-0.0.0.alpha app/assets/javascripts/lib/serialized_storage.js