aboutsummaryrefslogtreecommitdiff
path: root/src/utility.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/utility.js')
-rw-r--r--src/utility.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utility.js b/src/utility.js
index ac821a89..62adb807 100644
--- a/src/utility.js
+++ b/src/utility.js
@@ -222,6 +222,7 @@ function mergeInto(obj, other) {
}
function isNumber(x) {
+ // XXX this does not handle 0xabc123 etc
return x == parseFloat(x) || (typeof x == 'string' && x.match(/^-?\d+$/));
}