Sha256: f820ed8f4e8f09b0772791ee2cf17c954eb85b17399f90b1b1b0b39a5a343669

Contents?: true

Size: 545 Bytes

Versions: 36

Compression:

Stored size: 545 Bytes

Contents

function if_per_set(ns, key, value) {
  var _ns = store.namespace(ns);
  _ns.set(key, value)
}

function if_per_del(ns, key) {
  var _ns = store.namespace(ns);
  _ns.remove(key);
}

function if_per_del_ns(ns) {
  var _ns = store.namespace(ns);
  _ns.clearAll();
}

function if_per_get(s, ns, key) {
  var _ns = store.namespace(ns);
  var res = _ns.get(key);
  if (res === undefined) {
    throw "This should never be reached. if_per_get returned undefined, it should return null";
  }

  int_dispatch([4, "int_per_get_res", s, ns, key, res]);
}

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
flok-0.0.105 app/drivers/chrome/src/persist.js
flok-0.0.103 app/drivers/chrome/src/persist.js
flok-0.0.102 app/drivers/chrome/src/persist.js
flok-0.0.101 app/drivers/chrome/src/persist.js
flok-0.0.100 app/drivers/chrome/src/persist.js
flok-0.0.99 app/drivers/chrome/src/persist.js
flok-0.0.98 app/drivers/chrome/src/persist.js
flok-0.0.97 app/drivers/chrome/src/persist.js
flok-0.0.96 app/drivers/chrome/src/persist.js
flok-0.0.95 app/drivers/chrome/src/persist.js
flok-0.0.94 app/drivers/chrome/src/persist.js
flok-0.0.93 app/drivers/chrome/src/persist.js
flok-0.0.92 app/drivers/chrome/src/persist.js
flok-0.0.91 app/drivers/chrome/src/persist.js
flok-0.0.90 app/drivers/chrome/src/persist.js
flok-0.0.89 app/drivers/chrome/src/persist.js
flok-0.0.88 app/drivers/chrome/src/persist.js
flok-0.0.87 app/drivers/chrome/src/persist.js
flok-0.0.86 app/drivers/chrome/src/persist.js
flok-0.0.85 app/drivers/chrome/src/persist.js