aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsuVene2009-02-04 16:06:22 +0000
committersuVene2009-02-04 16:06:22 +0000
commitaad360503215c681d7aaefcfa61a18586ac64047 (patch)
tree760ed918b6078ef27122f645a4b5cbf5eb733a03
parente18ab1daa6c54b831950f337a29df0b19da16ca3 (diff)
downloadvimperator-plugins-aad360503215c681d7aaefcfa61a18586ac64047.tar.bz2
custom function に渡すの忘れてた[29547]
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@29550 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r--copy.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/copy.js b/copy.js
index 473f5a4..e4d1910 100644
--- a/copy.js
+++ b/copy.js
@@ -204,7 +204,7 @@ function wedataRegister(item){
let custom = (function(item){
- return function(value){
+ return function(value, value2){
var STORE_KEY = 'plugins-copy-ok-func';
var store = storage.newMap(STORE_KEY, true);
var check = store.get(item.label);
@@ -248,7 +248,7 @@ function wedataRegister(item){
logger.log(item.custom);
return;
}
- return func(value);
+ return func(value, value2);
};
})(item);