From c3a353837f23a7ccee7348442bbb9f1a14c6308a Mon Sep 17 00:00:00 2001 From: n1474335 Date: Fri, 27 Jul 2018 15:54:49 +0000 Subject: [PATCH] Linted --- src/core/operations/TranslateDateTimeFormat.mjs | 1 - src/web/OutputWaiter.mjs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/operations/TranslateDateTimeFormat.mjs b/src/core/operations/TranslateDateTimeFormat.mjs index 98fe253a..6a60f6f0 100644 --- a/src/core/operations/TranslateDateTimeFormat.mjs +++ b/src/core/operations/TranslateDateTimeFormat.mjs @@ -7,7 +7,6 @@ import Operation from "../Operation"; import moment from "moment-timezone"; import {DATETIME_FORMATS, FORMAT_EXAMPLES} from "../lib/DateTime"; -import OperationError from "../errors/OperationError"; /** * Translate DateTime Format operation diff --git a/src/web/OutputWaiter.mjs b/src/web/OutputWaiter.mjs index 4ab13753..bfbc484f 100755 --- a/src/web/OutputWaiter.mjs +++ b/src/web/OutputWaiter.mjs @@ -444,7 +444,6 @@ class OutputWaiter { const currentRecipeConfig = this.app.getRecipeConfig(); const newRecipeConfig = currentRecipeConfig.concat(options[0].recipe); - const recipeURL = "#recipe=" + Utils.encodeURIFragment(Utils.generatePrettyRecipe(newRecipeConfig)); const opSequence = options[0].recipe.map(o => o.op).join(", "); this.showMagicButton(opSequence, options[0].data, newRecipeConfig); @@ -461,7 +460,7 @@ class OutputWaiter { magicClick() { const magicButton = document.getElementById("magic"); this.app.setRecipeConfig(JSON.parse(magicButton.getAttribute("data-recipe"))); - window.dispatchEvent(this.manager.statechange); + window.dispatchEvent(this.manager.statechange); this.hideMagicButton(); }