1+ import fsOperation from "fileSystem" ;
12import tutorial from "components/tutorial" ;
23import alert from "dialogs/alert" ;
34import box from "dialogs/box" ;
4- import fsOperation from "fileSystem" ;
55import markdownIt from "markdown-it" ;
66import anchor from "markdown-it-anchor" ;
77import MarkdownItGitHubAlerts from "markdown-it-github-alerts" ;
88import mimeType from "mime-types" ;
99import mustache from "mustache" ;
1010import browser from "plugins/browser" ;
11- import Url from "utils/Url" ;
1211import helpers from "utils/helpers" ;
12+ import Url from "utils/Url" ;
1313import $_console from "views/console.hbs" ;
1414import $_markdown from "views/markdown.hbs" ;
1515import constants from "./constants" ;
@@ -343,20 +343,22 @@ async function run(
343343 theme: 'dark'
344344 });
345345
346- ${ target === "inapp"
347- ? "eruda._shadowRoot.querySelector('.eruda-entry-btn').style.display = 'none';"
348- : ""
349- }
346+ ${
347+ target === "inapp"
348+ ? "eruda._shadowRoot.querySelector('.eruda-entry-btn').style.display = 'none';"
349+ : ""
350+ }
350351
351352 sessionStorage.setItem('__console_available', true);
352353 document.addEventListener('showconsole', function () {eruda.show()});
353354 document.addEventListener('hideconsole', function () {eruda.hide()});
354355 }else if(document.querySelector('c-toggler')){
355- ${ target === "inapp" ||
356- ( target !== "inapp" && ! appSettings . value . showConsoleToggler )
357- ? "document.querySelector('c-toggler').style.display = 'none';"
358- : ""
359- }
356+ ${
357+ target === "inapp" ||
358+ ( target !== "inapp" && ! appSettings . value . showConsoleToggler )
359+ ? "document.querySelector('c-toggler').style.display = 'none';"
360+ : ""
361+ }
360362 }
361363 setTimeout(function(){
362364 var scripts = document.querySelectorAll('.${ uuid } ');
@@ -493,4 +495,4 @@ async function run(
493495 }
494496}
495497
496- export default run ;
498+ export default run ;
0 commit comments