Change the order of arguments

This commit is contained in:
Hiroki Uchikawa
2018-05-23 11:42:53 +09:00
committed by HirokiUchikawa
parent 84f598e143
commit 7fafa21a1b
6 changed files with 72 additions and 73 deletions

View File

@@ -66,7 +66,7 @@ var localfilesystem = {
storageBaseDir = configs.dir;
}
},
get: function (key, scope) {
get: function (scope, key) {
if(!storages[scope]){
createStorage(scope);
}
@@ -82,7 +82,7 @@ var localfilesystem = {
}
},
set: function (key, value, scope) {
set: function (scope, key, value) {
if(!storages[scope]){
createStorage(scope);
}