浏览代码

Fixed lint error

n1474335 8 年之前
父节点
当前提交
e9c3bebfff
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/web/App.js

+ 3 - 3
src/web/App.js

@@ -76,7 +76,7 @@ App.prototype.handleError = function(err) {
 App.prototype.setBakingStatus = function(bakingStatus) {
 App.prototype.setBakingStatus = function(bakingStatus) {
     this.baking = 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"),
         outputLoadingIcon = document.querySelector("#output .title .loading-icon"),
         outputElement = document.querySelector("#output-text");
         outputElement = document.querySelector("#output-text");
 
 
@@ -109,8 +109,8 @@ App.prototype.bake = async function(step) {
 
 
     try {
     try {
         response = await this.chef.bake(
         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.options,             // Options set by the user
             this.progress,            // The current position in the recipe
             this.progress,            // The current position in the recipe
             step                      // Whether or not to take one step or execute the whole recipe
             step                      // Whether or not to take one step or execute the whole recipe