Fix some for each ... in cases (#978)
This commit is contained in:
parent
096ebb188b
commit
aef8453924
30 changed files with 57 additions and 57 deletions
|
@ -281,7 +281,7 @@ function makeZoteroContext(isConnector) {
|
|||
}
|
||||
|
||||
// Load xpcomFiles for specific mode
|
||||
for each(var xpcomFile in (isConnector ? xpcomFilesConnector : xpcomFilesLocal)) {
|
||||
for (let xpcomFile of (isConnector ? xpcomFilesConnector : xpcomFilesLocal)) {
|
||||
try {
|
||||
subscriptLoader.loadSubScript("chrome://zotero/content/xpcom/" + xpcomFile + ".js", zContext);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue