mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 23:10:02 -04:00
prettier
This commit is contained in:
parent
5d61913f65
commit
23e5fe2c51
5 changed files with 70 additions and 70 deletions
|
@ -48,14 +48,14 @@ export class ScramjetServiceWorker {
|
|||
|
||||
loadConfig() {
|
||||
const store = new IDBMap("config", {
|
||||
prefix: "scramjet"
|
||||
prefix: "scramjet",
|
||||
});
|
||||
|
||||
if (store.has("config")) {
|
||||
store.get("config").then((config) => {
|
||||
this.config = config;
|
||||
self.$scramjet.config = config;
|
||||
self.$scramjet.codec = self.$scramjet.codecs[config.codec]
|
||||
self.$scramjet.codec = self.$scramjet.codecs[config.codec];
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue