follows up 917266d
This commit is contained in:
parent
353901ce6b
commit
72498563b5
1 changed files with 8 additions and 1 deletions
|
@ -4,7 +4,14 @@ Manage filters.
|
|||
|
||||
export default class filters {
|
||||
constructor() {
|
||||
this.all = {};
|
||||
this.all = (async() => {
|
||||
// Import the updater.
|
||||
const secretariat = await import(
|
||||
chrome.runtime.getURL("scripts/secretariat.js")
|
||||
);
|
||||
|
||||
return ((await Promise.all([secretariat.read([`filters`], -1)]))[0])
|
||||
})
|
||||
}
|
||||
|
||||
/* Select the most appropriate filter based on a URL.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue