From e9c3bebfff8a50a519017d312d272379c72a68ec Mon Sep 17 00:00:00 2001 From: n1474335 Date: Sat, 6 May 2017 13:59:33 +0100 Subject: [PATCH] Fixed lint error --- src/web/App.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/web/App.js b/src/web/App.js index 76615acd..0cd0ebde 100755 --- a/src/web/App.js +++ b/src/web/App.js @@ -76,7 +76,7 @@ App.prototype.handleError = function(err) { App.prototype.setBakingStatus = function(bakingStatus) { this.baking = bakingStatus; - var inputLoadingIcon = document.querySelector("#input .title .loading-icon"), + let inputLoadingIcon = document.querySelector("#input .title .loading-icon"), outputLoadingIcon = document.querySelector("#output .title .loading-icon"), outputElement = document.querySelector("#output-text"); @@ -109,8 +109,8 @@ App.prototype.bake = async function(step) { try { response = await this.chef.bake( - this.getInput(), // The user's input - this.getRecipeConfig(), // The configuration of the recipe + this.getInput(), // The user's input + this.getRecipeConfig(), // The configuration of the recipe this.options, // Options set by the user this.progress, // The current position in the recipe step // Whether or not to take one step or execute the whole recipe