From ccecfd9421f4550a71134cd46e1388e486f8c564 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Tue, 28 Apr 2020 03:47:39 +0200 Subject: viewer: global formatting unification --- viewer/src/plugins/buefy.ts | 16 ++++++------- viewer/src/plugins/dragscroll.ts | 3 +-- viewer/src/plugins/fontawesome.ts | 48 +++++++++++++++++++-------------------- 3 files changed, 33 insertions(+), 34 deletions(-) (limited to 'viewer/src/plugins') diff --git a/viewer/src/plugins/buefy.ts b/viewer/src/plugins/buefy.ts index ebdf64e..0f8e16b 100644 --- a/viewer/src/plugins/buefy.ts +++ b/viewer/src/plugins/buefy.ts @@ -20,13 +20,13 @@ import Vue from "vue"; // @ts-ignore -import Taginput from 'buefy/src/components/taginput'; +import Taginput from "buefy/src/components/taginput"; // @ts-ignore -import Loading from 'buefy/src/components/loading'; +import Loading from "buefy/src/components/loading"; // @ts-ignore -import Button from 'buefy/src/components/button'; +import Button from "buefy/src/components/button"; // @ts-ignore -import SnackBar from 'buefy/src/components/snackbar'; +import SnackBar from "buefy/src/components/snackbar"; import "@/assets/scss/buefy.scss"; @@ -35,8 +35,8 @@ Vue.use(Loading); Vue.use(Button); Vue.use(SnackBar); -declare module 'vue/types/vue' { - interface Vue { - $buefy: any; - } +declare module "vue/types/vue" { + interface Vue { + $buefy: any; + } } diff --git a/viewer/src/plugins/dragscroll.ts b/viewer/src/plugins/dragscroll.ts index f6d88bb..a10b0fd 100644 --- a/viewer/src/plugins/dragscroll.ts +++ b/viewer/src/plugins/dragscroll.ts @@ -18,7 +18,6 @@ */ import Vue from "vue"; -import VueDragscroll from 'vue-dragscroll'; +import VueDragscroll from "vue-dragscroll"; Vue.use(VueDragscroll); - diff --git a/viewer/src/plugins/fontawesome.ts b/viewer/src/plugins/fontawesome.ts index cc8b7ab..480e8e0 100644 --- a/viewer/src/plugins/fontawesome.ts +++ b/viewer/src/plugins/fontawesome.ts @@ -22,33 +22,33 @@ import Vue from "vue"; import { library, config } from "@fortawesome/fontawesome-svg-core"; import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; import { - faFolder, - faEraser, - faSearch, - faPlus, - faMinus, - faImage, - faHome, - faArrowLeft, - faLevelUpAlt, - faAngleRight, - faAngleDoubleLeft, - faFile, + faFolder, + faEraser, + faSearch, + faPlus, + faMinus, + faImage, + faHome, + faArrowLeft, + faLevelUpAlt, + faAngleRight, + faAngleDoubleLeft, + faFile, } from "@fortawesome/free-solid-svg-icons"; library.add( - faFolder, - faEraser, - faSearch, - faPlus, - faMinus, - faImage, - faHome, - faArrowLeft, - faLevelUpAlt, - faAngleRight, - faAngleDoubleLeft, - faFile, + faFolder, + faEraser, + faSearch, + faPlus, + faMinus, + faImage, + faHome, + faArrowLeft, + faLevelUpAlt, + faAngleRight, + faAngleDoubleLeft, + faFile, ); config.autoAddCss = false; -- cgit v1.2.3