git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure that the data- import also supports arrays.
[jquery.git]
/
src
/
data.js
diff --git
a/src/data.js
b/src/data.js
index
44ad0c4
..
abe4689
100644
(file)
--- a/
src/data.js
+++ b/
src/data.js
@@
-2,7
+2,7
@@
var windowData = {},
rnum = /^-?\d+(?:\.\d+)$/,
- rbrace = /^{.*}$/;
+ rbrace = /^(?:{.*}|\[.*\])$/;
jQuery.extend({
cache: {},