From c4f12ba442ebed410b997c69d15e52c08137510f Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Thu, 15 Aug 2024 11:42:47 +0200 Subject: [PATCH] Switch to using JSR for syscalls calls --- deno.jsonc | 2 +- hello.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deno.jsonc b/deno.jsonc index 8b813b0..fa312e7 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -16,6 +16,6 @@ ] }, "imports": { - "$sb/": "https://deno.land/x/silverbullet/plug-api/" + "@silverbulletmd/silverbullet": "jsr:@silverbulletmd/silverbullet@^0.9.0" } } diff --git a/hello.ts b/hello.ts index 5d6efcc..569f139 100644 --- a/hello.ts +++ b/hello.ts @@ -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!");