mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-03-29 07:18:41 +00:00
parent
c0977e0cb3
commit
f0c1e952ac
11 changed files with 0 additions and 11 deletions
|
|
@ -9,7 +9,6 @@ import IPC from '@/modules/ipc.js'
|
|||
import Debug from 'debug'
|
||||
|
||||
const debug = Debug('ui:anilist')
|
||||
debug.useColors = false
|
||||
|
||||
const codes = {
|
||||
400: 'Bad Request',
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ import { chunks } from './util.js'
|
|||
import Debug from 'debug'
|
||||
|
||||
const debug = Debug('ui:animeresolver')
|
||||
debug.useColors = false
|
||||
|
||||
const postfix = {
|
||||
1: 'st', 2: 'nd', 3: 'rd'
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ import { toast } from 'svelte-sonner'
|
|||
import Debug from 'debug'
|
||||
|
||||
const debug = Debug('ui:extensions')
|
||||
debug.useColors = false
|
||||
|
||||
/** @typedef {import('@thaunknown/ani-resourced/sources/types.d.ts').Options} Options */
|
||||
/** @typedef {import('@thaunknown/ani-resourced/sources/types.d.ts').Result} Result */
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ import { fontRx } from './util.js'
|
|||
import { SUPPORTS } from '@/modules/support.js'
|
||||
|
||||
const debug = Debug('torrent:parser')
|
||||
debug.useColors = false
|
||||
|
||||
export default class Parser {
|
||||
parsed = false
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ import IPC from '@/modules/ipc.js'
|
|||
import Debug from 'debug'
|
||||
|
||||
const debug = Debug('ui:rss')
|
||||
debug.useColors = false
|
||||
|
||||
export const exclusions = ['DTS', 'TrueHD', '[EMBER]']
|
||||
const isDev = location.hostname === 'localhost'
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ import { toast } from 'svelte-sonner'
|
|||
import Debug from 'debug'
|
||||
|
||||
const debug = Debug('ui:anilist')
|
||||
debug.useColors = false
|
||||
|
||||
/** @type {{viewer: import('./al').Query<{Viewer: import('./al').Viewer}>, token: string} | null} */
|
||||
export let alToken = JSON.parse(localStorage.getItem('ALviewer')) || null
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ import 'browser-event-target-emitter'
|
|||
import Debug from 'debug'
|
||||
|
||||
const debug = Debug('ui:torrent')
|
||||
debug.useColors = false
|
||||
|
||||
const torrentRx = /(^magnet:){1}|(^[A-F\d]{8,40}$){1}|(.*\.torrent$){1}/i
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ const querystringStringify = obj => {
|
|||
}
|
||||
|
||||
const debug = Debug('torrent:worker')
|
||||
debug.useColors = false
|
||||
|
||||
const ANNOUNCE = [
|
||||
atob('d3NzOi8vdHJhY2tlci5vcGVud2VidG9ycmVudC5jb20='),
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
import Debug from 'debug'
|
||||
|
||||
const debug = Debug('ui:mediahandler')
|
||||
debug.useColors = false
|
||||
|
||||
const episodeRx = /Episode (\d+) - (.*)/
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
import Debug from 'debug'
|
||||
|
||||
const debug = Debug('ui:extensions')
|
||||
debug.useColors = false
|
||||
|
||||
/** @typedef {import('@/modules/al.d.ts').Media} Media */
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
import Debug from 'debug'
|
||||
|
||||
const debug = Debug('ui:w2g')
|
||||
debug.useColors = false
|
||||
|
||||
export const w2gEmitter = new EventTarget()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue