From 9458f2ffe5d45116c7207efd07b33766198fc7c8 Mon Sep 17 00:00:00 2001
From: anekos
Date: Wed, 25 Nov 2009 09:47:46 +0000
Subject: Fix a typo
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35989 d0d07461-0603-4401-acd4-de1884942a52
---
every.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'every.js')
diff --git a/every.js b/every.js
index 14049e2..5e1501b 100644
--- a/every.js
+++ b/every.js
@@ -38,7 +38,7 @@ let PLUGIN_INFO =
every.js
to run a specified command every time at specified interval.
指定のコマンドを指定の間隔で実行する。
- 1.2.0
+ 1.2.1
anekos
new BSD License (Please read the source code comments of this plugin)
修正BSDライセンス (ソースコードのコメントを参照してください)
@@ -174,8 +174,8 @@ let PLUGIN_INFO =
liberator.modules.commands.addUserCommand(
['delay'],
'delay',
- function (arg) {
- let cmd = arg.literalArg;
+ function (args) {
+ let cmd = args.literalArg;
let f = function () {
if (liberator.mode == liberator.modules.modes.COMMAND_LINE) {
setTimeout(f, 500);
@@ -184,7 +184,7 @@ let PLUGIN_INFO =
}
};
let interval = args['-interval'];
- setTimeout(f, msec(interval ? expandSuffix(interval) : arg.count));
+ setTimeout(f, msec(interval ? expandSuffix(interval) : args.count));
},
{
literal: 0,
--
cgit v1.2.3