From 76493bca826c8a59ad252fe90c228e4f1e12997a Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 27 Aug 2009 08:48:37 +0000 Subject: 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 --- auto_source.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'auto_source.js') 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 = Auto Source Sourcing automatically when the specified file is modified. 指定のファイルが変更されたら自動で :so する。 - 1.4.1 + 1.4.2 anekos 2.0pre 2.0pre @@ -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, -- cgit v1.2.3