mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-05-25 19:59:38 +00:00
Update build and sticky notes
This commit is contained in:
15
platform-specific/obsidian/wrapper.js
Normal file
15
platform-specific/obsidian/wrapper.js
Normal file
@@ -0,0 +1,15 @@
|
||||
const { Plugin, Notice } = require('obsidian');
|
||||
module.exports = class PocketBird extends Plugin {
|
||||
onload() {
|
||||
console.log("Loading Pocket Bird version __VERSION__...");
|
||||
const OBSIDIAN_PLUGIN = this;
|
||||
__CODE__
|
||||
console.log("Pocket Bird loaded!");
|
||||
}
|
||||
|
||||
onunload() {
|
||||
// Remove the birb when the plugin is unloaded
|
||||
document.getElementById('birb')?.remove();
|
||||
console.log('Pocket Bird unloaded!');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user