Make sure that the data- import also supports arrays.
[jquery.git] / src / data.js
index 44ad0c4..abe4689 100644 (file)
@@ -2,7 +2,7 @@
 
 var windowData = {},
        rnum = /^-?\d+(?:\.\d+)$/,
-       rbrace = /^{.*}$/;
+       rbrace = /^(?:{.*}|\[.*\])$/;
 
 jQuery.extend({
        cache: {},