aboutsummaryrefslogtreecommitdiffstats
path: root/fetchyoutube.js
diff options
context:
space:
mode:
authoranekos2008-11-21 15:43:50 +0000
committeranekos2008-11-21 15:43:50 +0000
commit64595ae97afe8e5924c4ad97b81f547e819c2d96 (patch)
treed618115d9c52fed6d8f709127a1c4f99f8a2d120 /fetchyoutube.js
parent4c5c3f29047e5b572b8c1f5a913072e38153fba3 (diff)
downloadvimperator-plugins-64595ae97afe8e5924c4ad97b81f547e819c2d96.tar.bz2
仕様変更に対応。
({completer: completion.file} のような手抜きが出来なくなった?) git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@24581 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'fetchyoutube.js')
-rw-r--r--fetchyoutube.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/fetchyoutube.js b/fetchyoutube.js
index 69ea3b6..5e1b699 100644
--- a/fetchyoutube.js
+++ b/fetchyoutube.js
@@ -4,7 +4,7 @@
// @license Creative Commons 2.1 (Attribution + Share Alike)
// @version 1.0
// @author anekos (anekos@snca.net)
-// @minVersion 2.0pre
+// @minVersion 1.2
// @maxVersion 2.0pre
// ==/VimperatorPlugin==
//
@@ -72,7 +72,7 @@
['fetchyoutube', 'fetchyt'],
'fecth YouTube HD video',
fetch,
- {argCount: '*', completer: completion.file},
+ {argCount: '*', completer: function (arg) completion.file(arg)},
true
);