aboutsummaryrefslogtreecommitdiffstats
path: root/incuri.js
diff options
context:
space:
mode:
authoranekos2008-11-27 21:12:05 +0000
committeranekos2008-11-27 21:12:05 +0000
commit8ae0812897ed96e22d31ae37838c4f4ef3b604c0 (patch)
tree8441828d8912abc6b8223a17297bf89820480d77 /incuri.js
parent98c8e79b7790f9ee45749aec9bbd9c48e533e6e0 (diff)
downloadvimperator-plugins-8ae0812897ed96e22d31ae37838c4f4ef3b604c0.tar.bz2
Follow CVS Head.
etc git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@25172 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'incuri.js')
-rw-r--r--incuri.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/incuri.js b/incuri.js
index 7b9679d..623be6f 100644
--- a/incuri.js
+++ b/incuri.js
@@ -33,7 +33,7 @@
return str;
}
function makeinc(f, p)
- function(arg) {
+ function(args) {
var l = window.content.location;
var part = l[p];
if(p == "port" && part == "") {
@@ -42,7 +42,7 @@
})[l.protocol] || part;
}
if(numreg.test(part)) {
- arg = arg.arguments[0];
+ arg = args[0];
let num = RegExp.$2;
let quantity = !arg || isNaN(arg) ? 1 : parseInt(arg);
let nextnum = numstr(f(parseInt(num, 10), quantity), num.length);