aboutsummaryrefslogtreecommitdiffstats
path: root/auto_source.js
diff options
context:
space:
mode:
authoranekos2009-08-27 08:48:37 +0000
committeranekos2009-08-27 08:48:37 +0000
commit76493bca826c8a59ad252fe90c228e4f1e12997a (patch)
treeb452856b3d3aa22d5af2cbcc214e0307be31ea16 /auto_source.js
parent06aac10f72fa48fe53c0e5612dd42fe0d3617150 (diff)
downloadvimperator-plugins-76493bca826c8a59ad252fe90c228e4f1e12997a.tar.bz2
Follow HEAD
for http://vimperator.org/trac/gitweb/?p=liberator.git;a=commitdiff;h=f20c2b315bb05c2e88d0c672f07dc229cc9267d2 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35089 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'auto_source.js')
-rw-r--r--auto_source.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/auto_source.js b/auto_source.js
index 6baa0f9..b4524f0 100644
--- a/auto_source.js
+++ b/auto_source.js
@@ -38,7 +38,7 @@ let PLUGIN_INFO =
<name>Auto Source</name>
<description>Sourcing automatically when the specified file is modified.</description>
<description lang="ja">指定のファイルが変更されたら自動で :so する。</description>
- <version>1.4.1</version>
+ <version>1.4.2</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<minVersion>2.0pre</minVersion>
<maxVersion>2.0pre</maxVersion>
@@ -140,8 +140,8 @@ let PLUGIN_INFO =
commands.addUserCommand(
['autoso[urce]', 'aso'],
'Sourcing automatically when the specified file is modified.',
- function (arg, bang) {
- (bang ? killWatcher : startWatching)(expandPath(arg[0]), arg['-command'], arg['-force']);
+ function (arg) {
+ (bang.bang ? killWatcher : startWatching)(expandPath(arg[0]), arg['-command'], arg['-force']);
},
{
bang: true,