aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-09-21 08:30:12 -0400
committerjeresig <jeresig@gmail.com>2010-09-21 08:30:12 -0400
commite0b24306a86629f02576017f25d295fbe07f21a5 (patch)
tree5bd6db483bd54c142d4d2397b86113638068a224 /src/data.js
parent1f8a5e4bbc49c244051101765c46bd8f35e2aa32 (diff)
downloadjquery-e0b24306a86629f02576017f25d295fbe07f21a5.tar.gz
jquery-e0b24306a86629f02576017f25d295fbe07f21a5.zip
Handle some additional data- number edge cases.
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 abe46891d..dc08a563a 100644
--- a/src/data.js
+++ b/src/data.js
@@ -1,7 +1,7 @@
(function( jQuery ) {
var windowData = {},
- rnum = /^-?\d+(?:\.\d+)$/,
+ rnum = /^-?\d+(?:\.\d+)?(?:E\d+)?$/,
rbrace = /^(?:{.*}|\[.*\])$/;
jQuery.extend({