Skip to content

Commit dd01cdc

Browse files
committed
Fix JSR link
1 parent ec9db38 commit dd01cdc

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ is written in Deno using WebUI as the GUI library.
4646
Specific version:
4747

4848
```js
49-
import { WebUI } from "@webui/[email protected]";
49+
import { WebUI } from "jsr:@webui/[email protected]";
5050
// Or
5151
import { WebUI } from "https://deno.land/x/[email protected]/mod.ts";
5252
```

examples/custom_file_handler/custom_file_handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// import { WebUI } from "../../mod.ts";
66

77
// To import from online package registry (Production)
8-
import { WebUI } from "@webui/[email protected]"; // import {WebUI} from "https://deno.land/x/[email protected]/mod.ts";
8+
import { WebUI } from "jsr:@webui/[email protected]"; // import {WebUI} from "https://deno.land/x/[email protected]/mod.ts";
99

1010
// Return HTTP header + file raw binary content
1111
const getFile = async (

examples/custom_web_server/custom_web_server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// import { WebUI } from "../../mod.ts";
66

77
// To import from online package registry (Production)
8-
import { WebUI } from "@webui/[email protected]"; // import {WebUI} from "https://deno.land/x/[email protected]/mod.ts";
8+
import { WebUI } from "jsr:@webui/[email protected]"; // import {WebUI} from "https://deno.land/x/[email protected]/mod.ts";
99

1010
function allEvents(e: WebUI.Event) {
1111
/*

examples/hello_world/hello_world.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// import { WebUI } from "../../mod.ts";
66

77
// To import from online package registry (Production)
8-
import { WebUI } from "@webui/[email protected]"; // import {WebUI} from "https://deno.land/x/[email protected]/mod.ts";
8+
import { WebUI } from "jsr:@webui/[email protected]"; // import {WebUI} from "https://deno.land/x/[email protected]/mod.ts";
99

1010
const myHtml = `<!DOCTYPE html>
1111
<html>

examples/send_raw_binary/send_raw_binary.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// import { WebUI } from "../../mod.ts";
66

77
// To import from online package registry (Production)
8-
import { WebUI } from "@webui/[email protected]"; // import {WebUI} from "https://deno.land/x/[email protected]/mod.ts";
8+
import { WebUI } from "jsr:@webui/[email protected]"; // import {WebUI} from "https://deno.land/x/[email protected]/mod.ts";
99

1010
const myHtml = `<!DOCTYPE html>
1111
<html>

mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* ## Minimal Example
1717
*
1818
* ```ts
19-
* import { WebUI } from "@webui/[email protected]";
19+
* import { WebUI } from "jsr:@webui/[email protected]";
2020
*
2121
* const myWindow = new WebUI();
2222
* myWindow.show("<html><script src=\"webui.js\"></script> Hello World! </html>");

0 commit comments

Comments
 (0)