From 0cdec797de23555c95a70978f4d9e06f3b041330 Mon Sep 17 00:00:00 2001 From: Jason Bedard Date: Mon, 22 Sep 2014 20:05:59 -0700 Subject: [PATCH] Data: avoid non-alphanumeric chars in expando properties Ref chromium issue 378607 Ref #14839 Closes gh-1662 --- src/data/Data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5