mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-17 16:10:02 -04:00
refactor service worker to handle blobs properly
This commit is contained in:
parent
23b2ba9928
commit
4dfa47a2bf
6 changed files with 99 additions and 112 deletions
|
@ -154,7 +154,6 @@ export default function (client: ScramjetClient, self: Self) {
|
|||
key.startsWith("on") &&
|
||||
handlers[key.slice(2)]
|
||||
) {
|
||||
console.log(key);
|
||||
const descriptor = nativeGetOwnPropertyDescriptor(target, key);
|
||||
if (!descriptor.get || !descriptor.set || !descriptor.configurable)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue