From f7812db6f263a54cfeebccf911cd1ebcb955a932 Mon Sep 17 00:00:00 2001 From: mussabchinoBozo <148665568+mussabchinoBozo@users.noreply.github.com> Date: Thu, 2 May 2024 09:12:09 -0500 Subject: [PATCH 1/2] r --- src/rewrite/html.js | 4 ++-- src/rewrite/index.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/rewrite/html.js b/src/rewrite/html.js index 0223f71a..b445c5a7 100644 --- a/src/rewrite/html.js +++ b/src/rewrite/html.js @@ -2,13 +2,13 @@ import EventEmitter from 'events'; import { parse, parseFragment, serialize } from 'parse5'; /** - * @typedef {import('./index').default} Ultraviolet + * @typedef {import('./index').default} Mussab */ class HTML extends EventEmitter { /** * - * @param {Ultraviolet} ctx + * @param {Mussab} ctx */ constructor(ctx) { super(); diff --git a/src/rewrite/index.js b/src/rewrite/index.js index cf53f5f5..45fe95f1 100644 --- a/src/rewrite/index.js +++ b/src/rewrite/index.js @@ -41,7 +41,7 @@ import EventEmitter from 'events'; * @typedef {import('../uv.js').UVConfig} UVConfig */ -class Ultraviolet { +class Mussab { /** * * @param {UVConfig} [options] @@ -69,7 +69,7 @@ class Ultraviolet { '/uv.client.js'; this.configScript = options.config || '/uv.config.js'; this.meta.url ||= this.meta.base || ''; - this.codec = Ultraviolet.codec; + this.codec = Mussab.codec; this.html = new HTML(this); this.css = new CSS(this); this.js = new JS(this); @@ -194,5 +194,5 @@ class Ultraviolet { static EventEmitter = EventEmitter; } -export default Ultraviolet; -if (typeof self === 'object') self.Ultraviolet = Ultraviolet; +export default Mussab; +if (typeof self === 'object') self.Mussab = Mussab; From 327fa7d16cc45ca13ad7dab8c9ff78caa53fb3d9 Mon Sep 17 00:00:00 2001 From: mussabchinoBozo <148665568+mussabchinoBozo@users.noreply.github.com> Date: Thu, 2 May 2024 09:12:50 -0500 Subject: [PATCH 2/2] / --- src/client/idb.js | 4 ++-- src/client/message.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/idb.js b/src/client/idb.js index 3b2cfb98..6a7771ef 100644 --- a/src/client/idb.js +++ b/src/client/idb.js @@ -2,13 +2,13 @@ import EventEmitter from 'events'; import HookEvent from './hook.js'; /** - * @typedef {import('./index').default} Ultraviolet + * @typedef {import('./index').default} Mussab */ class IDBApi extends EventEmitter { /** * - * @param {Ultraviolet} ctx + * @param {Mussab} ctx */ constructor(ctx) { super(); diff --git a/src/client/message.js b/src/client/message.js index 0009ffd0..43d7218c 100644 --- a/src/client/message.js +++ b/src/client/message.js @@ -2,7 +2,7 @@ import EventEmitter from 'events'; import HookEvent from './hook.js'; /** - * @typedef {import('./index').default} Ultraviolet + * @typedef {import('./index').default} Mussab */ class MessageApi extends EventEmitter {