[CodeFactor] Apply fixes

This commit is contained in:
codefactor-io 2022-11-29 22:50:18 +00:00 committed by Andrei Andreev
parent cbd5706e59
commit 33dfb81e8c
5 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,5 @@
import { sha512_256 } from "js-sha512"; import { sha512_256 } from "js-sha512";
import { DEV } from "../devtools"; import { DEV } from "../devtools";
import FullScreenAnimationHandler from "../full-screen-animation-handler"; import FullScreenAnimationHandler from "../full-screen-animation-handler";

View File

@ -1,5 +1,6 @@
import VTooltip from "v-tooltip"; import VTooltip from "v-tooltip";
import VueGtag from "vue-gtag"; import VueGtag from "vue-gtag";
import { DEV } from "../devtools"; import { DEV } from "../devtools";
import { useLongPress, useRepeatingClick } from "./longpress"; import { useLongPress, useRepeatingClick } from "./longpress";

View File

@ -1,5 +1,6 @@
import { deepmergeAll } from "@/utility/deepmerge";
import { DEV } from "../devtools"; import { DEV } from "../devtools";
import { deepmergeAll } from "@/utility/deepmerge";
import { GameStorage } from "./storage"; import { GameStorage } from "./storage";
// WARNING: Don't use state accessors and functions from global scope here, that's not safe in long-term // WARNING: Don't use state accessors and functions from global scope here, that's not safe in long-term

View File

@ -1,8 +1,9 @@
import * as ADNotations from "@antimatter-dimensions/notations"; import * as ADNotations from "@antimatter-dimensions/notations";
import { deepmergeAll } from "@/utility/deepmerge";
import { DEV } from "../devtools"; import { DEV } from "../devtools";
import { deepmergeAll } from "@/utility/deepmerge";
export const GameStorage = { export const GameStorage = {
currentSlot: 0, currentSlot: 0,
saves: { saves: {

View File

@ -3,6 +3,7 @@ import "./shims";
import "./merge-globals"; import "./merge-globals";
import { DEV } from "../javascripts/core/devtools"; import { DEV } from "../javascripts/core/devtools";
import { browserCheck, init } from "../javascripts/game"; import { browserCheck, init } from "../javascripts/game";
import { watchLatestCommit } from "@/commit-watcher"; import { watchLatestCommit } from "@/commit-watcher";
if (browserCheck()) init(); if (browserCheck()) init();