mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-15 15:30:00 -04:00
chore: prettier.... TWO!
This commit is contained in:
parent
3436d85888
commit
0d4ee9ee96
5 changed files with 18 additions and 18 deletions
|
@ -171,8 +171,8 @@ export default function (client: ScramjetClient, self: typeof window) {
|
|||
// since the prototype chain is fucked
|
||||
|
||||
const style = ctx.get() as CSSStyleDeclaration;
|
||||
|
||||
return new Proxy(style, {
|
||||
|
||||
return new Proxy(style, {
|
||||
get(t, p) {
|
||||
const v = Reflect.get(t, p);
|
||||
if (typeof v === "function") {
|
||||
|
@ -190,8 +190,8 @@ return new Proxy(style, {
|
|||
if (v == "" || typeof v !== "string") {
|
||||
return Reflect.set(t, p, v);
|
||||
}
|
||||
|
||||
return Reflect.set(t, p, rewriteCss(v, client.meta));
|
||||
|
||||
return Reflect.set(t, p, rewriteCss(v, client.meta));
|
||||
},
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue