aboutsummaryrefslogtreecommitdiffstats
path: root/alert.js
diff options
context:
space:
mode:
authoranekos2013-05-06 13:49:13 +0900
committeranekos2013-05-06 13:49:49 +0900
commit799383268a28f6a2185257dec4e72dd249e43119 (patch)
tree4b8b122e9f5555d40d9e07078fa055355e563ce0 /alert.js
parentf9db51aae3b7e6ace3b40d0856143f2ae72313cf (diff)
downloadvimperator-plugins-799383268a28f6a2185257dec4e72dd249e43119.tar.bz2
即座に実行できるようにした
Diffstat (limited to 'alert.js')
-rw-r--r--alert.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/alert.js b/alert.js
index 611a8ae..957da6a 100644
--- a/alert.js
+++ b/alert.js
@@ -13,7 +13,7 @@ let PLUGIN_INFO = xml`
<name lang="ja">アラート</name>
<description>Displays an alert after the specified time.</description>
<description lang="ja">指定時間後にアラートダイアログを出したりする。タイマー。</description>
- <version>1.01</version>
+ <version>1.0.2</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<minVersion>2.0pre</minVersion>
<maxVersion>2.0pre</maxVersion>
@@ -446,7 +446,7 @@ let PLUGIN_INFO = xml`
});
if (!message)
message = defaults.message;
- if (!time)
+ if (typeof time != 'number')
time = defaults.time;
if (!methods.length)
methods = defaults.methods;