diff options
| author | hogelog | 2008-10-05 06:35:07 +0000 |
|---|---|---|
| committer | hogelog | 2008-10-05 06:35:07 +0000 |
| commit | d85db4777cc72cfd5771766defd368d394281797 (patch) | |
| tree | 6e6db211418fdce64b1f1104bf91b54126b39219 | |
| parent | bb0c83da4ce719b363f9db6c2db0ab892e176bc4 (diff) | |
| download | vimperator-plugins-d85db4777cc72cfd5771766defd368d394281797.tar.bz2 | |
* "010"のような番号が8進数と認識される問題の修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@20772 d0d07461-0603-4401-acd4-de1884942a52
| -rw-r--r-- | incuri.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ arg = arg.arguments[0]; let num = RegExp.$2; let quantity = !arg || isNaN(arg) ? 1 : parseInt(arg); - let nextnum = numstr(f(parseInt(num), quantity), num.length); + let nextnum = numstr(f(parseInt(num, 10), quantity), num.length); let newpart = RegExp.$1 + nextnum + RegExp.$3; if(p == "href") { window.content.location.href = newpart; |
