mirror of
https://github.com/ryanamay/inkdrop-command-palette.git
synced 2024-09-20 01:40:34 +00:00
16 lines
380 B
JavaScript
16 lines
380 B
JavaScript
|
"use babel";
|
||
|
|
||
|
import CommandPalette from "./components/palette";
|
||
|
|
||
|
module.exports = {
|
||
|
activate() {
|
||
|
inkdrop.components.registerClass(CommandPalette);
|
||
|
inkdrop.layouts.addComponentToLayout("modal", "CommandPalette");
|
||
|
},
|
||
|
|
||
|
deactivate() {
|
||
|
inkdrop.layouts.removeComponentFromLayout("modal", "CommandPalette");
|
||
|
inkdrop.components.deleteClass(CommandPalette);
|
||
|
},
|
||
|
};
|