diff --git a/examples/build-website.js b/examples/build-website.js index f1f3a9d1fe..85b37ddb22 100644 --- a/examples/build-website.js +++ b/examples/build-website.js @@ -67,7 +67,7 @@ about: ${json.about.text} exampleCss: ${JSON.stringify(json.exampleCss)} exampleJs: ${JSON.stringify(json.exampleJs)} --- -`+ html; +` + html; fs.writeFileSync(path.resolve(output, 'index.html'), html); return json; }); diff --git a/tutorials/build-website.js b/tutorials/build-website.js index 50f5c7249a..45e5045767 100644 --- a/tutorials/build-website.js +++ b/tutorials/build-website.js @@ -31,7 +31,7 @@ glob('tutorials/*/tutorial.json') var pugTemplate = fs.readFileSync(path.relative('.', path.resolve(dir, 'index.pug')), 'utf8'); pugTemplate = pugTemplate.replace('extends ../common/index.pug', 'extends ../common/index-website.pug'); - + var fn = pug.compile(pugTemplate, { pretty: false, filename: path.relative('.', path.resolve(dir, 'index.pug')) @@ -45,7 +45,7 @@ tutorialCss: ${JSON.stringify(json.tutorialCss)} tutorialJs: ${JSON.stringify(json.tutorialJs)} --- ` + html; - fs.writeFileSync(path.resolve(output, 'index.html'),html); + fs.writeFileSync(path.resolve(output, 'index.html'), html); return json; }); diff --git a/webpack-website-examples.config.js b/webpack-website-examples.config.js index ee1bdd7357..efed3c3abe 100644 --- a/webpack-website-examples.config.js +++ b/webpack-website-examples.config.js @@ -5,4 +5,4 @@ var config = require('./webpack-examples.config.js'); config.entry.bundle = './examples/index-website.js'; config.output.path = path.join(__dirname, 'website', 'source', 'examples'); -module.exports = config; \ No newline at end of file +module.exports = config; diff --git a/webpack-website-tutorials.config.js b/webpack-website-tutorials.config.js index ead4fde37d..c7e1f2c878 100644 --- a/webpack-website-tutorials.config.js +++ b/webpack-website-tutorials.config.js @@ -5,4 +5,4 @@ var config = require('./webpack-tutorials.config.js'); config.entry.bundle = './tutorials/index-website.js'; config.output.path = path.join(__dirname, 'website', 'source', 'tutorials'); - module.exports = config; \ No newline at end of file +module.exports = config; diff --git a/website/source/download/index.html b/website/source/download/index.html index c27d79bc84..78efbacc6b 100644 --- a/website/source/download/index.html +++ b/website/source/download/index.html @@ -1,7 +1,7 @@ --- title: Download --- - +