update.js 210 B

123456789101112
  1. (function (data) {
  2. data = JSON.parse(data);
  3. Object.keys(data).forEach(function (key) {
  4. var val = data[key];
  5. $.state.put(key, val);
  6. if (key === "threads") $.util.storageSet(key, val);
  7. })
  8. })