diff options
author | Jason Bedard <jason+github@jbedard.ca> | 2014-09-22 20:05:59 -0700 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2014-09-26 15:03:05 +0400 |
commit | 0cdec797de23555c95a70978f4d9e06f3b041330 (patch) | |
tree | 675a0e2fc368cc057474a1dcbcb792b3a88c1a69 /src/data | |
parent | b807aedb7fee321fb3aa5d156a5a256ab0634e2d (diff) | |
download | jquery-0cdec797de23555c95a70978f4d9e06f3b041330.tar.gz jquery-0cdec797de23555c95a70978f4d9e06f3b041330.zip |
Data: avoid non-alphanumeric chars in expando properties
Ref chromium issue 378607
Ref #14839
Closes gh-1662
Diffstat (limited to 'src/data')
-rw-r--r-- | src/data/Data.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/Data.js b/src/data/Data.js index 423bef55b..85afd64f5 100644 --- a/src/data/Data.js +++ b/src/data/Data.js @@ -14,7 +14,7 @@ function Data() { } }); - this.expando = jQuery.expando + Math.random(); + this.expando = jQuery.expando + Data.uid++; } Data.uid = 1; |