Skip to content

Commit

Permalink
🏗 runtime: allow for iterator polyfill (#34249)
Browse files Browse the repository at this point in the history
* runtime: allow for iterator polyfill

* Empty commit

* lint!
  • Loading branch information
samouri authored May 6, 2021
1 parent 4e31c2d commit d74de58
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 30 deletions.
2 changes: 0 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ module.exports = {
'local/no-dynamic-import': 2,
'local/no-es2015-number-props': 2,
'local/no-export-side-effect': 2,
'local/no-for-of-statement': 2,
'local/no-forbidden-terms': [
2,
forbiddenTermsGlobal,
Expand Down Expand Up @@ -276,7 +275,6 @@ module.exports = {
'local/always-call-chai-methods': 2,
'local/no-bigint': 0,
'local/no-dynamic-import': 0,
'local/no-for-of-statement': 0,
'local/no-function-async': 0,
'local/no-function-generator': 0,
'local/no-import-meta': 0,
Expand Down
1 change: 0 additions & 1 deletion build-system/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ module.exports = {
'local/no-bigint': 0,
'local/no-dynamic-import': 0,
'local/no-export-side-effect': 0,
'local/no-for-of-statement': 0,
'local/no-function-async': 0,
'local/no-function-generator': 0,
'local/no-has-own-property-method': 0,
Expand Down
24 changes: 0 additions & 24 deletions build-system/eslint-rules/no-for-of-statement.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ module.exports = {
'local/no-dynamic-import': 0,
'local/no-es2015-number-props': 0,
'local/no-export-side-effect': 0,
'local/no-for-of-statement': 0,
'local/no-forbidden-terms': 0,
'local/no-function-async': 0,
'local/no-function-generator': 0,
Expand Down
4 changes: 2 additions & 2 deletions src/service/owners-impl.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ export class OwnersImpl {
* @private
*/
findResourcesInElements_(parentResource, elements, callback) {
elements.forEach((element) => {
for (const element of elements) {
devAssert(parentResource.element.contains(element));
this.discoverResourcesForElement_(element, callback);
});
}
}

/**
Expand Down

0 comments on commit d74de58

Please sign in to comment.