Skip to content

Commit

Permalink
Don't use Array.forEach
Browse files Browse the repository at this point in the history
  • Loading branch information
jscheid committed Jan 13, 2016
1 parent 10eb563 commit 1e73126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ SubresourceIntegrityPlugin.prototype.apply = function apply(compiler) {
}
});

Array.forEach(Object.values(assets), function forEachAsset(asset) {
Object.values(assets).forEach(function forEachAsset(asset) {
if (!asset.integrity) {
asset.integrity = computeIntegrity(asset.source());
}
Expand Down

0 comments on commit 1e73126

Please sign in to comment.