aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--auto_source.js6
-rw-r--r--twitter.js7
2 files changed, 7 insertions, 6 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,
diff --git a/twitter.js b/twitter.js
index 8154592..f6c3490 100644
--- a/twitter.js
+++ b/twitter.js
@@ -21,8 +21,8 @@
let PLUGIN_INFO =
<VimperatorPlugin>
<name>{NAME}</name>
-<description>The script allows you to update Twitter status from Vimperator 0.6.*.</description>
-<version>0</version>
+<description>The script allows you to update Twitter status from Vimperator</description>
+<version>1.0.1</version>
<updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/twitter.js</updateURL>
<author>Trapezoid</author>
<license>Creative Commons</license>
@@ -193,7 +193,8 @@ let PLUGIN_INFO =
liberator.echo(html, true);
}
liberator.modules.commands.addUserCommand(["twitter"], "Change Twitter status",
- function(arg, special){
+ function(arg){
+ var special = arg.bang;
var password;
var username;
try {