aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_libly.js2
-rw-r--r--copy.js2
-rw-r--r--hatena-bookmark-search.js2
-rw-r--r--multi_requester.js2
-rw-r--r--nextlink.js2
-rw-r--r--pluginManager.js2
-rw-r--r--scenario-actor.js2
7 files changed, 7 insertions, 7 deletions
diff --git a/_libly.js b/_libly.js
index b62e34a..c20d26e 100644
--- a/_libly.js
+++ b/_libly.js
@@ -682,7 +682,7 @@ libly.Wedata.prototype = {
var logger = this.logger;
var STORE_KEY = 'plugins-libly-wedata-' + this.dbname + '-items';
- var store = storage.newMap(STORE_KEY, true);
+ var store = storage.newMap(STORE_KEY, {store: true});
var cache = store && store.get('data');
if (store && cache && new Date(store.get('expire')) > new Date()) {
diff --git a/copy.js b/copy.js
index 8e353da..b4a57a4 100644
--- a/copy.js
+++ b/copy.js
@@ -265,7 +265,7 @@ function wedataRegister(item){
return function(value, value2){
var STORE_KEY = 'plugins-copy-ok-func';
- var store = storage.newMap(STORE_KEY, true);
+ var store = storage.newMap(STORE_KEY, {store: true});
var check = store.get(item.label);
var ans;
diff --git a/hatena-bookmark-search.js b/hatena-bookmark-search.js
index 746843f..22fc58d 100644
--- a/hatena-bookmark-search.js
+++ b/hatena-bookmark-search.js
@@ -245,7 +245,7 @@ HatenaBookmark.Cache = {
get store() {
if (!this._store) {
let key = 'plugins-hatena-bookmark-search-data';
- this._store = storage.newMap(key, true);
+ this._store = storage.newMap(key, {store: true});
}
return this._store;
},
diff --git a/multi_requester.js b/multi_requester.js
index 9bfb4c4..305006f 100644
--- a/multi_requester.js
+++ b/multi_requester.js
@@ -123,7 +123,7 @@ var libly = liberator.plugins.libly;
var $U = libly.$U;
var logger = $U.getLogger("multi_requester");
var mergedSiteinfo = {};
-var store = storage.newMap('plugins-multi_requester', true);
+var store = storage.newMap('plugins-multi_requester', {store: true});
//}}}
// Vimperator plugin command register {{{
diff --git a/nextlink.js b/nextlink.js
index 00768dd..9149966 100644
--- a/nextlink.js
+++ b/nextlink.js
@@ -112,7 +112,7 @@ var actpattern = liberator.globalVariables.nextlink_nositeinfo_act || "e";
var nositeinfoAct = nositeinfoActions[actpattern];
-var localSiteinfo = storage.newMap("nextlink-local-siteinfo", false);
+var localSiteinfo = storage.newMap("nextlink-local-siteinfo", {store: false});
if (localSiteinfo)
localSiteinfo = [ info for ([ i, info ] in localSiteinfo) ];
diff --git a/pluginManager.js b/pluginManager.js
index 629a4e7..5cbd940 100644
--- a/pluginManager.js
+++ b/pluginManager.js
@@ -303,7 +303,7 @@ Plugin.prototype = { // {{{
return template.table(this.name, data);
}, // }}}
getResourceInfo: function(){
- var store = storage.newMap('plugins-pluginManager', true);
+ var store = storage.newMap('plugins-pluginManager', {store: true});
var url = this.info.updateURL;
var localResource = store.get(this.name) || {};
var serverResource = {
diff --git a/scenario-actor.js b/scenario-actor.js
index 10735ec..727edb0 100644
--- a/scenario-actor.js
+++ b/scenario-actor.js
@@ -93,7 +93,7 @@ var $U = libly.$U;
var logger = $U.getLogger('scenario-actor');
function ScenarioActor () { //{{{
- let variables = storage.newMap('scenarioactor', true);
+ let variables = storage.newMap('scenarioactor', {store: true});
function ScenarioContext(event) { //{{{
let triggeredEvent = event;