From 1e7312600c4370e34d1468a27fe48017fa2307e4 Mon Sep 17 00:00:00 2001 From: Julian Scheid Date: Wed, 13 Jan 2016 12:20:33 +0100 Subject: [PATCH] Don't use Array.forEach --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index abcaf26..cf9cb05 100644 --- a/index.js +++ b/index.js @@ -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()); }