Make sure that the data- import also supports arrays.

This commit is contained in:
jeresig 2010-09-21 08:20:31 -04:00
parent e7c2d3b45b
commit 1f8a5e4bbc
2 changed files with 5 additions and 3 deletions

View file

@ -2,7 +2,7 @@
var windowData = {},
rnum = /^-?\d+(?:\.\d+)$/,
rbrace = /^{.*}$/;
rbrace = /^(?:{.*}|\[.*\])$/;
jQuery.extend({
cache: {},