aboutsummaryrefslogtreecommitdiffstats
path: root/auto_source.js
diff options
context:
space:
mode:
authoranekos2008-11-15 06:25:58 +0000
committeranekos2008-11-15 06:25:58 +0000
commit4fa6b253c26d47bd5f9aa2f976773e7d521a6757 (patch)
tree638072ebe2171d9235bf18cdedc560d9e6701fa6 /auto_source.js
parentb3bd606ea321b3efc6337309192152cc1bb2431b (diff)
downloadvimperator-plugins-4fa6b253c26d47bd5f9aa2f976773e7d521a6757.tar.bz2
デバッグ用コードの除去
その他。 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@23763 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'auto_source.js')
-rw-r--r--auto_source.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/auto_source.js b/auto_source.js
index 19bbace..cd6c7fa 100644
--- a/auto_source.js
+++ b/auto_source.js
@@ -5,8 +5,8 @@
// @license Creative Commons 2.1 (Attribution + Share Alike)
// @version 1.0
// @author anekos (anekos@snca.net)
+// @minVersion 1.2
// @maxVersion 2.0pre
-// @minVersion 2.0pre
// ==/VimperatorPlugin==
//
// Usage:
@@ -66,12 +66,11 @@
['autoso[urce]', 'aso'],
'Sourcing automatically when the specified file is modified.',
function (arg, bang) {
- liberator.log(arg);
- liberator.log(io.expandPath(arg.string));
(bang ? killWatcher : startWatching)(io.expandPath(arg.string));
},
{
bang: true,
+ argCount: '1',
completer: function (arg, bang) {
return bang ? [0, [[filepath, ''] for (filepath in files)]]
: completion.file.apply(this, arguments);