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.84 app/drivers/chrome/src/persist.js
flok-0.0.83 app/drivers/chrome/src/persist.js
flok-0.0.82 app/drivers/chrome/src/persist.js
flok-0.0.81 app/drivers/chrome/src/persist.js
flok-0.0.80 app/drivers/chrome/src/persist.js
flok-0.0.79 app/drivers/chrome/src/persist.js
flok-0.0.78 app/drivers/chrome/src/persist.js
flok-0.0.77 app/drivers/chrome/src/persist.js
flok-0.0.76 app/drivers/chrome/src/persist.js
flok-0.0.75 app/drivers/CHROME/src/persist.js
flok-0.0.74 app/drivers/CHROME/src/persist.js
flok-0.0.73 app/drivers/CHROME/src/persist.js
flok-0.0.72 app/drivers/CHROME/src/persist.js
flok-0.0.71 app/drivers/CHROME/src/persist.js
flok-0.0.70 app/drivers/CHROME/src/persist.js
flok-0.0.69 app/drivers/CHROME/src/persist.js