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