refactor(frontend): scripts -> utility
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
import type { Directive } from 'vue';
|
||||
import { getBgColor } from '@/scripts/get-bg-color.js';
|
||||
import { getBgColor } from '@/utility/get-bg-color.js';
|
||||
|
||||
export default {
|
||||
mounted(src, binding, vn) {
|
||||
|
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
import type { Directive } from 'vue';
|
||||
import { getBgColor } from '@/scripts/get-bg-color.js';
|
||||
import { getBgColor } from '@/utility/get-bg-color.js';
|
||||
|
||||
export default {
|
||||
mounted(src, binding, vn) {
|
||||
|
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
import type { Directive } from 'vue';
|
||||
import { makeHotkey } from '@/scripts/hotkey.js';
|
||||
import { makeHotkey } from '@/utility/hotkey.js';
|
||||
|
||||
export default {
|
||||
mounted(el, binding) {
|
||||
|
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
import type { Directive } from 'vue';
|
||||
import { getBgColor } from '@/scripts/get-bg-color.js';
|
||||
import { getBgColor } from '@/utility/get-bg-color.js';
|
||||
|
||||
export default {
|
||||
mounted(src, binding, vn) {
|
||||
|
@@ -8,7 +8,7 @@
|
||||
|
||||
import { defineAsyncComponent, ref } from 'vue';
|
||||
import type { Directive } from 'vue';
|
||||
import { isTouchUsing } from '@/scripts/touch.js';
|
||||
import { isTouchUsing } from '@/utility/touch.js';
|
||||
import { popup, alert } from '@/os.js';
|
||||
|
||||
const start = isTouchUsing ? 'touchstart' : 'mouseenter';
|
||||
|
Reference in New Issue
Block a user