mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-17 16:10:02 -04:00
fuck my scramjet life
This commit is contained in:
parent
634634637d
commit
fb614d403b
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,6 @@ export default function (client: ScramjetClient) {
|
||||||
return new Proxy(style, {
|
return new Proxy(style, {
|
||||||
get(t, p) {
|
get(t, p) {
|
||||||
const v = Reflect.get(t, p);
|
const v = Reflect.get(t, p);
|
||||||
if (p in CSSStyleDeclaration.prototype) return v;
|
|
||||||
|
|
||||||
if (typeof v === "function") {
|
if (typeof v === "function") {
|
||||||
return new Proxy(v, {
|
return new Proxy(v, {
|
||||||
|
@ -60,6 +59,8 @@ export default function (client: ScramjetClient) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (p in CSSStyleDeclaration.prototype) return v;
|
||||||
|
|
||||||
return unrewriteCss(v);
|
return unrewriteCss(v);
|
||||||
},
|
},
|
||||||
set(t, p, v) {
|
set(t, p, v) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue