aboutsummaryrefslogtreecommitdiff
path: root/src/utility.js
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-21 21:41:43 -0700
committeralon@honor <none@none>2010-10-21 21:41:43 -0700
commitf57cfb99176a2ec61db5b91aeed1f3ff6a719634 (patch)
treefbd8d4b17a077685de21010550396dd5d2160206 /src/utility.js
parentbeb16b9d956b0434330d6ce1eefd67eec5bae111 (diff)
fixes in parseConst; move getFunctionIndex into Runtime; test for global function pointers
Diffstat (limited to 'src/utility.js')
-rw-r--r--src/utility.js2
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);
}