From 1f7f6fa5465790a954de061e551c835a644a52ac Mon Sep 17 00:00:00 2001 From: anekos Date: Wed, 31 Mar 2010 11:44:21 +0000 Subject: 無意味は引数削除 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37132 d0d07461-0603-4401-acd4-de1884942a52 --- stella.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stella.js b/stella.js index fc43747..0d635ca 100644 --- a/stella.js +++ b/stella.js @@ -385,7 +385,7 @@ Thanks: if (m = /^(([-+]?)\d+):(\d+)$/(code)) return parseInt(m[1], 10) * 60 + (m[2] == '-' ? -1 : 1) * parseInt(m[3], 10); if (m = /^([-+]?\d+\.\d+)$/(code)) - return Math.round(parseFloat(m[1], 10) * 60); + return Math.round(parseFloat(m[1]) * 60); return parseInt(code, 10); }, -- cgit v1.2.3