windowsNavigator: Use regular for() loops

"for each ... in" has been deprecated for a long time and won't be
supported in upcoming SpiderMonkey versions, so replace it with
"for ... of" instead.
This commit is contained in:
Florian Müllner
2017-10-26 20:03:12 +02:00
parent 99295c438d
commit 8c551ba8ee
+2 -2
View File
@@ -274,10 +274,10 @@ function disable() {
for (i in workViewInjections)
removeInjection(WorkspacesView.WorkspacesView.prototype, workViewInjections, i);
for each (i in connectedSignals)
for (i of connectedSignals)
i.obj.disconnect(i.id);
for each (i in createdActors)
for (i of createdActors)
i.destroy();
resetState();