forked from GitHubMirrors/silverbullet-icalendar
Switch to using JSR for syscalls calls
This commit is contained in:
@@ -16,6 +16,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"imports": {
|
"imports": {
|
||||||
"$sb/": "https://deno.land/x/silverbullet/plug-api/"
|
"@silverbulletmd/silverbullet": "jsr:@silverbulletmd/silverbullet@^0.9.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2
hello.ts
2
hello.ts
@@ -1,4 +1,4 @@
|
|||||||
import { editor } from "$sb/syscalls.ts";
|
import { editor } from "@silverbulletmd/silverbullet/syscalls";
|
||||||
|
|
||||||
export async function helloWorld() {
|
export async function helloWorld() {
|
||||||
await editor.flashNotification("Hello world!");
|
await editor.flashNotification("Hello world!");
|
||||||
|
|||||||
Reference in New Issue
Block a user