Data: avoid non-alphanumeric chars in expando properties

Ref chromium issue 378607
Ref #14839
Closes gh-1662
This commit is contained in:
Jason Bedard 2014-09-22 20:05:59 -07:00 committed by Oleg Gaidarenko
parent b807aedb7f
commit 0cdec797de

View File

@ -14,7 +14,7 @@ function Data() {
} }
}); });
this.expando = jQuery.expando + Math.random(); this.expando = jQuery.expando + Data.uid++;
} }
Data.uid = 1; Data.uid = 1;