aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2008-11-21 15:43:50 +0000
committeranekos2008-11-21 15:43:50 +0000
commit64595ae97afe8e5924c4ad97b81f547e819c2d96 (patch)
treed618115d9c52fed6d8f709127a1c4f99f8a2d120
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
-rw-r--r--auto_source.js2
-rw-r--r--fetchyoutube.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/auto_source.js b/auto_source.js
index cd6c7fa..c866a4d 100644
--- a/auto_source.js
+++ b/auto_source.js
@@ -73,7 +73,7 @@
argCount: '1',
completer: function (arg, bang) {
return bang ? [0, [[filepath, ''] for (filepath in files)]]
- : completion.file.apply(this, arguments);
+ : completion.file(arg);
}
},
true
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
);