mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-01 03:57:30 +09:00
[PMkit] Rely on MOZ_WEBEXTENSIONS to include 'sdk/webextension'
This commit is contained in:
parent
d87fc5357d
commit
6074a73015
2 changed files with 2 additions and 2 deletions
2
toolkit/jetpack/sdk/addon/bootstrap.js
vendored
2
toolkit/jetpack/sdk/addon/bootstrap.js
vendored
|
|
@ -134,7 +134,7 @@ Bootstrap.prototype = {
|
|||
const main = command === "test" ? "sdk/test/runner" : null;
|
||||
const prefsURI = `${baseURI}defaults/preferences/prefs.js`;
|
||||
|
||||
#ifndef MC_PALEMOON
|
||||
#ifdef MOZ_WEBEXTENSIONS
|
||||
// Init the 'sdk/webextension' module from the bootstrap addon parameter.
|
||||
require("sdk/webextension").initFromBootstrapAddonParam(addon);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue