aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeemu Pòˆntelin <teemu@vaadin.com>2016-08-31 09:32:35 +0300
committerTeemu Pòˆntelin <teemu@vaadin.com>2016-08-31 09:32:35 +0300
commit59301895a76ceb93cfc8b665feb1046b23a80331 (patch)
tree0b8ccbe016a9c19793caaea7a994c84b9bb2dccb
parent199891513f89d5ef1ef7c526f876a4a9de166a0a (diff)
downloadvaadin-core-59301895a76ceb93cfc8b665feb1046b23a80331.tar.gz
vaadin-core-59301895a76ceb93cfc8b665feb1046b23a80331.zip
Revert back to ES5 syntax
-rw-r--r--tasks/cdn.js2
-rw-r--r--tasks/docsite.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/tasks/cdn.js b/tasks/cdn.js
index 0db7bb9..7d8f28e 100644
--- a/tasks/cdn.js
+++ b/tasks/cdn.js
@@ -21,7 +21,7 @@ gulp.task('clean:cdn', function() {
gulp.task('cdn:stage-bower.json', ['clean:cdn'], function() {
// Load the bower.json, assign overrides and write back to disk.
- let bowerJson = JSON.parse(fs.readFileSync('./bower.json', 'utf-8'));
+ var bowerJson = JSON.parse(fs.readFileSync('./bower.json', 'utf-8'));
if (version === 'master') {
gutil.log('Applying overrides to ' + stagingPath + '/bower.json');
diff --git a/tasks/docsite.js b/tasks/docsite.js
index 4c18233..175df48 100644
--- a/tasks/docsite.js
+++ b/tasks/docsite.js
@@ -56,7 +56,7 @@ gulp.task('cdn:docsite:core-elements-integrations', function() {
});
gulp.task('cdn:docsite:core-elements-elements', ['cdn:docsite:bower_components'], function() {
- const bowerJson = require('../' + stagingPath + '/bower.json');
+ var bowerJson = require('../' + stagingPath + '/bower.json');
var docsPaths = Object.keys(bowerJson.dependencies).map(function(c) {
return stagingPath + '/' + c + '/docs/**';
});