mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 23:10:02 -04:00
add lint command, lint and lint:fix project
This commit is contained in:
parent
430c7ad6ec
commit
93b609932d
23 changed files with 36916 additions and 25 deletions
|
@ -32,11 +32,13 @@ export class ScramjetServiceWorker {
|
|||
|
||||
if (data.scramjet$type === "registerServiceWorker") {
|
||||
this.serviceWorkers.push(new FakeServiceWorker(data.port, data.origin));
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (data.scramjet$type === "cookie") {
|
||||
this.cookieStore.setCookies([data.cookie], new URL(data.url));
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -49,7 +51,6 @@ export class ScramjetServiceWorker {
|
|||
this.dataworkerpromises[data.id] = { promise, resolve };
|
||||
resolve(data.data);
|
||||
}
|
||||
return;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue