mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
Fix accessing the bootstrap methods when they are declared in the new lexical scope
This commit is contained in:
parent
a968f1d6c2
commit
c54e714ef5
5 changed files with 61 additions and 3 deletions
5
toolkit/mozapps/extensions/test/addons/test_bootstrap_const/bootstrap.js
vendored
Normal file
5
toolkit/mozapps/extensions/test/addons/test_bootstrap_const/bootstrap.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
const install = function() {
|
||||
Services.obs.notifyObservers(null, "addon-install", "");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue