Skip to content

Commit 14ae7ab

Browse files
fix: imports
1 parent e79e3e9 commit 14ae7ab

File tree

11 files changed

+11
-12
lines changed

11 files changed

+11
-12
lines changed

src/pages/about/about.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import Reactive from "html-tag-js/reactive";
55
import actionStack from "lib/actionStack";
66
import constants from "lib/constants";
77
import helpers from "utils/helpers";
8-
import { hideAd } from "./startAd.js";
9-
8+
import { hideAd } from "lib/startAd";
109
export default function AboutInclude() {
1110
const $page = Page(strings.about.capitalize());
1211
const webviewVersionName = Reactive("N/A");

src/pages/adRewards/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import actionStack from "lib/actionStack";
66
import adRewards from "lib/adRewards";
77
import removeAds from "lib/removeAds";
88
import helpers from "utils/helpers";
9-
import { hideAd } from "./startAd.js";
9+
import { hideAd } from "lib/startAd";
1010

1111
let $rewardPage = null;
1212

src/pages/changelog/changelog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import markdownIt from "markdown-it";
1010
import markdownItFootnote from "markdown-it-footnote";
1111
import markdownItTaskLists from "markdown-it-task-lists";
1212
import helpers from "utils/helpers";
13-
import { hideAd } from "./startAd.js";
13+
import { hideAd } from "lib/startAd";
1414

1515
export default async function Changelog() {
1616
const GITHUB_API_URL =

src/pages/customTheme/customTheme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import ThemeBuilder from "theme/builder";
1010
import themes from "theme/list";
1111
import { isValidColor } from "utils/color/regex";
1212
import helpers from "utils/helpers";
13-
import { hideAd } from "./startAd.js";
13+
import { hideAd } from "lib/startAd";
1414

1515
export default function CustomThemeInclude() {
1616
const theme = themes.get("custom");

src/pages/fileBrowser/fileBrowser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import _addMenu from "./add-menu.hbs";
3030
import _addMenuHome from "./add-menu-home.hbs";
3131
import _template from "./fileBrowser.hbs";
3232
import _list from "./list.hbs";
33-
import { hideAd } from "./startAd.js";
33+
import { hideAd } from "lib/startAd";
3434
import util from "./util";
3535

3636
/**

src/pages/fontManager/fontManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import appSettings from "lib/settings";
1515
import FileBrowser from "pages/fileBrowser";
1616
import helpers from "utils/helpers";
1717
import Url from "utils/Url";
18-
import { hideAd } from "./startAd.js";
18+
import { hideAd } from "lib/startAd";
1919

2020
export default function fontManager() {
2121
const defaultFont = "Roboto Mono";

src/pages/plugin/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { highlightCodeBlock, initHighlighting } from "utils/codeHighlight";
1919
import helpers from "utils/helpers";
2020
import Url from "utils/Url";
2121
import view from "./plugin.view.js";
22-
import { hideAd } from "./startAd.js";
22+
import { hideAd } from "lib/startAd";
2323

2424
let $lastPluginPage;
2525

src/pages/plugins/plugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import actionStack from "lib/actionStack";
1616
import Contextmenu from "components/contextmenu";
1717
import settings from "lib/settings";
1818
import loadPlugin from "lib/loadPlugin";
19-
import { hideAd } from "./startAd.js";
19+
import { hideAd } from "lib/startAd";
2020

2121
/**
2222
*

src/pages/problems/problems.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Page from "components/page";
44
import actionStack from "lib/actionStack";
55
import EditorFile from "lib/editorFile";
66
import helpers from "utils/helpers";
7-
import { hideAd } from "./startAd.js";
7+
import { hideAd } from "lib/startAd";
88

99
export default function Problems() {
1010
const $page = Page(strings["problems"]);

src/pages/quickTools/quickTools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import items, { description } from "components/quickTools/items";
44
import actionStack from "lib/actionStack";
55
import settings from "lib/settings";
66
import helpers from "utils/helpers";
7-
import { hideAd } from "./startAd.js";
7+
import { hideAd } from "lib/startAd";
88

99
export default function QuickTools() {
1010
const $page = Page(strings["shortcut buttons"]);

0 commit comments

Comments
 (0)