14 lines
350 B
JavaScript
14 lines
350 B
JavaScript
|
|
// Notepad — reference add-on. Registers one sidebar panel; the panel's
|
||
|
|
// HTML does all the actual work via window.silentmode.storage.
|
||
|
|
module.exports = {
|
||
|
|
activate(api) {
|
||
|
|
api.registerSidebarPanel({
|
||
|
|
id: "main",
|
||
|
|
title: "Notepad",
|
||
|
|
icon: "📝",
|
||
|
|
page: "note.html",
|
||
|
|
});
|
||
|
|
api.log("registered notepad panel");
|
||
|
|
},
|
||
|
|
};
|