This commit is contained in:
Zef Hemel
2023-08-22 10:36:42 +02:00
parent 211e9f892c
commit d289d96f68
4 changed files with 26 additions and 40 deletions

View File

@@ -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!");
}