diff options
author | jeresig <jeresig@gmail.com> | 2010-09-21 08:30:12 -0400 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-09-21 08:30:12 -0400 |
commit | e0b24306a86629f02576017f25d295fbe07f21a5 (patch) | |
tree | 5bd6db483bd54c142d4d2397b86113638068a224 /src/data.js | |
parent | 1f8a5e4bbc49c244051101765c46bd8f35e2aa32 (diff) | |
download | jquery-e0b24306a86629f02576017f25d295fbe07f21a5.tar.gz jquery-e0b24306a86629f02576017f25d295fbe07f21a5.zip |
Handle some additional data- number edge cases.
Diffstat (limited to 'src/data.js')
-rw-r--r-- | src/data.js | 2 |
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({ |