Initial commit
This commit is contained in:
commit
b6089a75ed
8 changed files with 118 additions and 0 deletions
12
plugins/hello-world/index.jsx
Normal file
12
plugins/hello-world/index.jsx
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
const {
|
||||
util: { log }
|
||||
} = shelter;
|
||||
|
||||
export function onLoad() {
|
||||
// you can safely run onLoad actions at the top level!
|
||||
log("Hello, World from shelter!")
|
||||
}
|
||||
|
||||
export function onUnload() {
|
||||
log("Goodbye, World from shelter!")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue