Breaking change fixes

This commit is contained in:
Araragi 2022-12-22 22:19:47 -05:00
parent c95d0fcb9e
commit 827c4b7204
2 changed files with 6 additions and 2 deletions

View File

@ -107,7 +107,11 @@ const manif = {
define: { define: {
global: 'window', global: 'window',
execution_mode: '"ff_api"', execution_mode: '"ff_api"',
<<<<<<< HEAD
manifest: '' + manif.manifest_version, manifest: '' + manif.manifest_version,
=======
manifest: ''+manif.manifest_version,
>>>>>>> d5298ab (Breaking change fixes)
isBackground: 'false', isBackground: 'false',
BUILD_VERSION: JSON.stringify([0, rev]) BUILD_VERSION: JSON.stringify([0, rev])
}, },

View File

@ -26,7 +26,7 @@ import { getQueryProcessor, QueryProcessor } from "./websites";
import { ifetch, Platform, sendCmd, lqueue, supportedAltDomain, supportedMainDomain, genPort, initMainIPC } from "./platform"; import { ifetch, Platform, sendCmd, lqueue, supportedAltDomain, supportedMainDomain, genPort, initMainIPC } from "./platform";
import TextEmbeddingsSvelte from "./Components/TextEmbeddings.svelte"; import TextEmbeddingsSvelte from "./Components/TextEmbeddings.svelte";
import { HydrusClient } from "./hydrus"; import { HydrusClient } from "./hydrus";
import { registerPlugin } from 'linkifyjs'; import { registerPlugin, createTokenClass } from 'linkifyjs';
import ViewCountSvelte from "./Components/ViewCount.svelte"; import ViewCountSvelte from "./Components/ViewCount.svelte";
import type { ImageProcessor, WorkerEmbeddedFile } from './processor.worker'; import type { ImageProcessor, WorkerEmbeddedFile } from './processor.worker';
@ -709,7 +709,7 @@ const startup = async (is4chanX = true) => {
const START_STATE = parser.start; const START_STATE = parser.start;
const pref = qp.getPostIdPrefix(); const pref = qp.getPostIdPrefix();
const endQuote = utils.createTokenClass('postQuote', { const endQuote = createTokenClass('postQuote', {
isLink: true, isLink: true,
toHref() { toHref() {
return `#${pref}${this.toString().substr(2)}`; return `#${pref}${this.toString().substr(2)}`;