mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-17 08:00: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, {
|
||||
get(t, p) {
|
||||
const v = Reflect.get(t, p);
|
||||
if (p in CSSStyleDeclaration.prototype) return v;
|
||||
|
||||
if (typeof v === "function") {
|
||||
return new Proxy(v, {
|
||||
|
@ -60,6 +59,8 @@ export default function (client: ScramjetClient) {
|
|||
});
|
||||
}
|
||||
|
||||
if (p in CSSStyleDeclaration.prototype) return v;
|
||||
|
||||
return unrewriteCss(v);
|
||||
},
|
||||
set(t, p, v) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue