forked from ScratchAddons/ScratchAddons
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackground.js
More file actions
33 lines (24 loc) · 943 Bytes
/
Copy pathbackground.js
File metadata and controls
33 lines (24 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// This file is loaded as ESM.
import "./firefox-localhost-support.js";
// Transition from Scratch Messaging Extension
import "./transition.js";
// Load idb
import "../libraries/thirdparty/idb.js";
// Declare scratchAddons object, create global and local state
import "./declare-scratchaddons-object.js";
// Load manifests into memory
import "./load-addon-manifests.js";
// When manifests are ready, check addon settings
import "./get-addon-settings.js";
// Load handlers. Some expose methods through scratchAddons.methods
import "./handle-fetch.js";
import "./handle-auth.js";
import "./handle-l10n.js";
import "./handle-clipboard.js";
import "./handle-notifications.js";
import "./handle-permissions.js";
// When everything is ready, run scripts and communicate with content scripts
import "./get-userscripts.js";
import "./get-popups.js";
// Respond to requests by the settings page and others
import "./handle-settings-page.js";