git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixing the problem with data-* based numbers as mention by @jasonwebster in 20673d7.
[jquery.git]
/
src
/
data.js
diff --git
a/src/data.js
b/src/data.js
index
f2cfc81
..
931ea83
100644
(file)
--- a/
src/data.js
+++ b/
src/data.js
@@
-1,7
+1,7
@@
(function( jQuery ) {
var windowData = {},
- rnum = /^-?[0-9.]$/;
+ rnum = /^-?[0-9.]+$/;
jQuery.extend({
cache: {},