From 102e9ed7b241bf88dd9045f985b7ebd518ca1cae Mon Sep 17 00:00:00 2001 From: eliassjogreen Date: Tue, 10 Mar 2020 21:23:47 +0100 Subject: [PATCH] Updated test.ts --- README.md | 6 ++---- test.ts | 4 +--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index bbc9310..3ebdce2 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,11 @@ the basics are really implemented yet (apart from opening a webview window). ## Example Run the following with the `-A` flag enabled to get the example shown above: ```ts -import { WebView } from "https://raw.githubusercontent.com/eliassjogreen/deno_webview/master/mod.ts"; +import { WebView } from "./mod.ts"; const webview = new WebView({ title: "Hello world", - url: - "data:text/html," + - ` + url: `data:text/html,

Hello from deno

diff --git a/test.ts b/test.ts index 6dd7d46..88bfaef 100644 --- a/test.ts +++ b/test.ts @@ -2,9 +2,7 @@ import { WebView } from "./mod.ts"; const webview = new WebView({ title: "Hello world", - url: - "data:text/html," + - ` + url: `data:text/html,

Hello from deno