From 9f691e05aae8b0ad1c4f3fe559b0f2f2c9559ea2 Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 27 Aug 2009 12:37:51 +0000 Subject: Follow HEAD for http://vimperator.org/trac/gitweb/?p=liberator.git;a=commit;h=f20c2b315bb05c2e88d0c672f07dc229cc9267d2 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35099 d0d07461-0603-4401-acd4-de1884942a52 --- every.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'every.js') diff --git a/every.js b/every.js index 24a9c2f..94e5544 100644 --- a/every.js +++ b/every.js @@ -155,7 +155,7 @@ let PLUGIN_INFO = liberator.modules.commands.addUserCommand( ['delay'], 'delay', - function (arg, bang, count) { + function (arg) { let cmd = arg.string; let f = function () { if (liberator.mode == liberator.modules.modes.COMMAND_LINE) { @@ -164,7 +164,7 @@ let PLUGIN_INFO = liberator.execute(cmd); } }; - setTimeout(f, msec(count)); + setTimeout(f, msec(arg.count)); }, { count: true, -- cgit v1.2.3