Change a var to let.

This commit is contained in:
Raymond Lee 2010-08-12 14:46:16 +08:00
parent ccd83c0cbc
commit 6131928ba1

View File

@ -728,7 +728,7 @@ window.TabItems = {
AllTabs.unregister(name, this._eventListeners[name]);
}
this.items.forEach(function(tabItem) {
for (var x in tabItem) {
for (let x in tabItem) {
if (typeof tabItem[x] == "object")
tabItem[x] = null;
}