chore(jqLite): remove special characters from the expando property
Having special characters in the expando property created a memory bloat. See https://code.google.com/p/chromium/issues/detail?id=378607#c6 to reproduce Closes #7701
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@
|
||||
*/
|
||||
|
||||
var jqCache = JQLite.cache = {},
|
||||
jqName = JQLite.expando = 'ng-' + new Date().getTime(),
|
||||
jqName = JQLite.expando = 'ng' + new Date().getTime(),
|
||||
jqId = 1,
|
||||
addEventListenerFn = (window.document.addEventListener
|
||||
? function(element, type, fn) {element.addEventListener(type, fn, false);}
|
||||
|
||||
Reference in New Issue
Block a user