soiz1's picture
Upload 2891 files
6bcb42f verified
raw
history blame
329 Bytes
import * as sharedModule from "./module.js";
export default async function ({ addon, console }) {
const update = () => {
sharedModule.setDuplication(!addon.self.disabled);
};
addon.self.addEventListener("disabled", update);
addon.self.addEventListener("reenabled", update);
update();
sharedModule.load(addon);
}