diff options
author | John Resig <jeresig@gmail.com> | 2010-09-21 00:38:26 -0400 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2010-09-21 00:38:26 -0400 |
commit | d5d4e4df65b56319b4f1216f63008a9751690315 (patch) | |
tree | 7b38eb67a66668155b354cd573641283763474db /src | |
parent | 4a46f3d7fbbaa0b7dab49ac815ccec78f1c45d2b (diff) | |
download | jquery-d5d4e4df65b56319b4f1216f63008a9751690315.tar.gz jquery-d5d4e4df65b56319b4f1216f63008a9751690315.zip |
Tweaked the data number RegExp some to handle some other edge cases.
Diffstat (limited to 'src')
-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 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: {}, |