Switch to using JSR for syscalls calls

This commit is contained in:
Zef Hemel
2024-08-15 11:42:47 +02:00
parent 28f4aacf84
commit c4f12ba442
2 changed files with 2 additions and 2 deletions

View File

@@ -16,6 +16,6 @@
]
},
"imports": {
"$sb/": "https://deno.land/x/silverbullet/plug-api/"
"@silverbulletmd/silverbullet": "jsr:@silverbulletmd/silverbullet@^0.9.0"
}
}

View File

@@ -1,4 +1,4 @@
import { editor } from "$sb/syscalls.ts";
import { editor } from "@silverbulletmd/silverbullet/syscalls";
export async function helloWorld() {
await editor.flashNotification("Hello world!");