diff options
| author | ilya | 2009-10-31 16:12:30 -0700 |
|---|---|---|
| committer | ilya | 2009-10-31 16:12:30 -0700 |
| commit | 5114f0235e455e2bc43a12c624e82849c273d9d1 (patch) | |
| tree | e374acb77682ef5be22780bca231a35109ad83d6 /vimiumFrontend.js | |
| parent | 10c33ba614356d39d601a34bd1e4029ffa9dd124 (diff) | |
| download | vimium-5114f0235e455e2bc43a12c624e82849c273d9d1.tar.bz2 | |
Initial support for counts. Commands like '5j' and '5t' work pretty well. '5d' and '5u' need some love.
Diffstat (limited to 'vimiumFrontend.js')
| -rw-r--r-- | vimiumFrontend.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vimiumFrontend.js b/vimiumFrontend.js index 7b0c37d5..892bdb34 100644 --- a/vimiumFrontend.js +++ b/vimiumFrontend.js @@ -21,7 +21,9 @@ chrome.extension.onConnect.addListener(function (port, name) { { port.onMessage.addListener(function (args) { if (this[args.command]) - this[args.command].call(); + { + for (var i = 0; i < args.count; i++) { this[args.command].call(); } + } }); } }); |
