diff options
author | alon@honor <none@none> | 2010-10-21 21:41:43 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-21 21:41:43 -0700 |
commit | f57cfb99176a2ec61db5b91aeed1f3ff6a719634 (patch) | |
tree | fbd8d4b17a077685de21010550396dd5d2160206 /src/utility.js | |
parent | beb16b9d956b0434330d6ce1eefd67eec5bae111 (diff) |
fixes in parseConst; move getFunctionIndex into Runtime; test for global function pointers
Diffstat (limited to 'src/utility.js')
-rw-r--r-- | src/utility.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utility.js b/src/utility.js index 0be6e598..c28077e8 100644 --- a/src/utility.js +++ b/src/utility.js @@ -224,6 +224,6 @@ function setIntersect(x, y) { } function isNumber(x) { - return x == parseInt(x); + return x == parseFloat(x); } |