Skip to content
Permalink
Browse files

Data: avoid non-alphanumeric chars in expando properties

(cherry-picked from 0cdec79)

Ref chromium issue 378607
Ref #14839
Closes gh-1662
  • Loading branch information...
jbedard authored and mgol committed Sep 23, 2014
1 parent ad6e422 commit 9448be717ce7ccc21dccf7e3d8d929252f270a89
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 9448be7

Please sign in to comment.
You can’t perform that action at this time.