mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Data: avoid non-alphanumeric chars in expando properties
Ref chromium issue 378607 Ref #14839 Closes gh-1662
This commit is contained in:
parent
b807aedb7f
commit
0cdec797de
@ -14,7 +14,7 @@ function Data() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this.expando = jQuery.expando + Math.random();
|
this.expando = jQuery.expando + Data.uid++;
|
||||||
}
|
}
|
||||||
|
|
||||||
Data.uid = 1;
|
Data.uid = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user