Replace legacy syntax for each...in with for...of

This commit is contained in:
Tom Najdek 2016-10-18 13:20:01 +01:00 committed by Dan Stillman
parent b445283f4e
commit 269e2f8bff
28 changed files with 87 additions and 87 deletions

View file

@ -596,7 +596,7 @@ function ZoteroProtocolHandler() {
var search = new Zotero.Search();
search.setScope(s);
var groups = Zotero.Groups.getAll();
for each(var group in groups) {
for (let group of groups) {
search.addCondition('libraryID', 'isNot', group.libraryID);
}
break;