Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include.preload.js

Issue 29335393: Noissue - Fix long line and use Array.prototype instead dummy instance (Closed)
Patch Set: Created Feb. 2, 2016, 6:28 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include.preload.js
===================================================================
--- a/include.preload.js
+++ b/include.preload.js
@@ -559,7 +559,10 @@
// in dynamically created frames due to https://crbug.com/442107.
// So we also have to apply element collpasing from the parent frame.
if (!contentWindow.collapsing)
- [].forEach.call(contentDocument.querySelectorAll(Object.keys(typeMap).join(",")), checkCollapse);
+ Array.prototype.forEach.call(
+ contentDocument.querySelectorAll(Object.keys(typeMap).join(",")),
+ checkCollapse
+ );
}
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld