aboutsummaryrefslogtreecommitdiffstats
path: root/fetchyoutube.js
diff options
context:
space:
mode:
authoranekos2008-11-23 00:35:01 +0000
committeranekos2008-11-23 00:35:01 +0000
commit00b1f584a13c4cae8b0b84b6e3ffc67f7b9d037b (patch)
tree0030344502fe3b267f13964659ad43160629ae9a /fetchyoutube.js
parentc9148677771aa64b1169866b9631a2b5946ca79e (diff)
downloadvimperator-plugins-00b1f584a13c4cae8b0b84b6e3ffc67f7b9d037b.tar.bz2
follow the new completer.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@24676 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 5e1b699..9b5916e 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 1.2
+// @minVersion 2.0pre
// @maxVersion 2.0pre
// ==/VimperatorPlugin==
//
@@ -72,7 +72,7 @@
['fetchyoutube', 'fetchyt'],
'fecth YouTube HD video',
fetch,
- {argCount: '*', completer: function (arg) completion.file(arg)},
+ {argCount: '*', completer: function (context) completion.file(context)},
true
);