aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.js')
-rw-r--r--src/data.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.js b/src/data.js
index 931ea8384..cc027158c 100644
--- a/src/data.js
+++ b/src/data.js
@@ -1,7 +1,7 @@
(function( jQuery ) {
var windowData = {},
- rnum = /^-?[0-9.]+$/;
+ rnum = /^-?\d+(?:\.\d+)$/;
jQuery.extend({
cache: {},