diff options
author | suVene | 2009-02-04 15:41:51 +0000 |
---|---|---|
committer | suVene | 2009-02-04 15:41:51 +0000 |
commit | e18ab1daa6c54b831950f337a29df0b19da16ca3 (patch) | |
tree | 49bc5c4bcb38521e2c6d3988ac5ed65df670672d /copy.js | |
parent | c0c9d2fa1d010b1fc56537a399009dfa37fb8e13 (diff) | |
download | vimperator-plugins-e18ab1daa6c54b831950f337a29df0b19da16ca3.tar.bz2 |
custom method の場合にも置換後の文字列を渡すように parameter 追加
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@29547 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'copy.js')
-rw-r--r-- | copy.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -298,7 +298,7 @@ var exCopyManager = { var template = getCopyTemplate(arg) || {value: arg}; if (typeof template.custom == 'function'){ - copyString = template.custom.call(this, template.value); + copyString = template.custom.call(this, template.value, replaceVariable(template.value)); } else if (template.custom instanceof Array){ copyString = replaceVariable(template.value).replace(template.custom[0], template.custom[1]); } else { |