forked from GitHubMirrors/silverbullet-icalendar
Cleanup
This commit is contained in:
11
hello.ts
11
hello.ts
@@ -1,14 +1,5 @@
|
||||
import { editor } from "$sb/silverbullet-syscall/mod.ts";
|
||||
|
||||
const loneRangerQuotes = [
|
||||
"Hi-Yo! Silver",
|
||||
"Hi-Yo! Silver! Away!",
|
||||
"Kemo Sabe",
|
||||
"Get-um up, Scout!",
|
||||
];
|
||||
|
||||
export async function helloWorld() {
|
||||
await editor.flashNotification(
|
||||
loneRangerQuotes[Math.floor(Math.random() * loneRangerQuotes.length)],
|
||||
);
|
||||
await editor.flashNotification("Hello world!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user