From: Teemu Pòˆntelin Date: Wed, 31 Aug 2016 08:43:06 +0000 (+0300) Subject: Replace arrow function with ES5 X-Git-Tag: v1.2.0~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=043bf63d596b7d63a9e8db266fdc97279a042e09;p=vaadin-core.git Replace arrow function with ES5 --- diff --git a/tasks/cdn.js b/tasks/cdn.js index 4c83c0c..d1c1882 100644 --- a/tasks/cdn.js +++ b/tasks/cdn.js @@ -27,7 +27,7 @@ gulp.task('cdn:stage-bower.json', ['clean:cdn'], function() { gutil.log('Applying overrides to ' + stagingPath + '/bower.json'); // Assign the override properties. - Object.keys(bowerJson.masterOverrides).forEach(override => { + Object.keys(bowerJson.masterOverrides).forEach(function(override) { bowerJson[override] = bowerJson.masterOverrides[override]; }); delete bowerJson.masterOverrides;