From aad360503215c681d7aaefcfa61a18586ac64047 Mon Sep 17 00:00:00 2001 From: suVene Date: Wed, 4 Feb 2009 16:06:22 +0000 Subject: custom function に渡すの忘れてた[29547] git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@29550 d0d07461-0603-4401-acd4-de1884942a52 --- copy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'copy.js') 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); -- cgit v1.2.3