From 4fa6b253c26d47bd5f9aa2f976773e7d521a6757 Mon Sep 17 00:00:00 2001 From: anekos Date: Sat, 15 Nov 2008 06:25:58 +0000 Subject: デバッグ用コードの除去 その他。 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@23763 d0d07461-0603-4401-acd4-de1884942a52 --- auto_source.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'auto_source.js') 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); -- cgit v1.2.3