git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tweaked the data number RegExp some to handle some other edge cases.
[jquery.git]
/
src
/
data.js
diff --git
a/src/data.js
b/src/data.js
index
931ea83
..
cc02715
100644
(file)
--- 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: {},