Skip to content

Commit

Permalink
Bumped versions, break out of loop
Browse files Browse the repository at this point in the history
  • Loading branch information
eliassjogreen committed Apr 3, 2020
1 parent 4d984de commit e706cf8
Show file tree
Hide file tree
Showing 13 changed files with 445 additions and 436 deletions.
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
@@ -1,14 +1,14 @@
[package]
name = "deno_webview"
version = "0.3.0"
version = "0.3.1"
authors = ["Elias Sjögreen <eliassjogreen1@gmail.com>"]
edition = "2018"

[lib]
crate-type = ["cdylib"]

[dependencies]
deno_core = "0.37.1"
deno_core = "0.38.0"
webview-sys = "0.5.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -4,7 +4,7 @@
[![stars](https://img.shields.io/github/stars/eliassjogreen/deno_webview)](https://github.com/eliassjogreen/deno_webview/stargazers)
[![ci](https://github.com/eliassjogreen/deno_webview/workflows/ci/badge.svg)](https://github.com/eliassjogreen/deno_webview/actions)
[![GitHub Releases](https://img.shields.io/github/downloads/eliassjogreen/deno_webview/latest/total)](https://github.com/eliassjogreen/deno_webview/releases/latest/)
[![Deno version](https://img.shields.io/badge/deno-0.37.1-success)](https://github.com/denoland/deno)
[![Deno version](https://img.shields.io/badge/deno-0.38.0-success)](https://github.com/denoland/deno)

This project provides [deno](https://github.com/denoland/deno) bindings for
[webview](https://github.com/zserge/webview) using the
Expand Down
34 changes: 17 additions & 17 deletions examples/local.ts
@@ -1,17 +1,17 @@
import { WebView } from "../mod.ts";

await new WebView({
title: "Local deno_webview example",
url: `data:text/html,
<html>
<body>
<h1>Hello from deno</h1>
</body>
</html>
`,
width: 800,
height: 600,
resizable: true,
debug: true,
frameless: false
}).run();
import { WebView } from "../mod.ts";

await new WebView({
title: "Local deno_webview example",
url: `data:text/html,
<html>
<body>
<h1>Hello from deno</h1>
</body>
</html>
`,
width: 800,
height: 600,
resizable: true,
debug: true,
frameless: false,
}).run();
70 changes: 35 additions & 35 deletions examples/multiple.ts
@@ -1,35 +1,35 @@
import { WebView } from "../mod.ts";

const webview1 = new WebView({
title: "Multiple deno_webview example",
url: `data:text/html,
<html>
<body>
<h1>1</h1>
</body>
</html>
`,
width: 800,
height: 600,
resizable: true,
debug: true,
frameless: false
});

const webview2 = new WebView({
title: "Multiple deno_webview example",
url: `data:text/html,
<html>
<body>
<h1>2</h1>
</body>
</html>
`,
width: 800,
height: 600,
resizable: true,
debug: true,
frameless: false
});

await Promise.all([webview1.run(), webview2.run()]);
import { WebView } from "../mod.ts";

const webview1 = new WebView({
title: "Multiple deno_webview example",
url: `data:text/html,
<html>
<body>
<h1>1</h1>
</body>
</html>
`,
width: 800,
height: 600,
resizable: true,
debug: true,
frameless: false,
});

const webview2 = new WebView({
title: "Multiple deno_webview example",
url: `data:text/html,
<html>
<body>
<h1>2</h1>
</body>
</html>
`,
width: 800,
height: 600,
resizable: true,
debug: true,
frameless: false,
});

await Promise.all([webview1.run(), webview2.run()]);
22 changes: 11 additions & 11 deletions examples/remote.ts
@@ -1,11 +1,11 @@
import { WebView } from "../mod.ts";

await new WebView({
title: "Remote deno_webview example",
url: `https://en.wikipedia.org/wiki/Main_Page`,
width: 800,
height: 600,
resizable: true,
debug: true,
frameless: false
}).run();
import { WebView } from "../mod.ts";

await new WebView({
title: "Remote deno_webview example",
url: `https://en.wikipedia.org/wiki/Main_Page`,
width: 800,
height: 600,
resizable: true,
debug: true,
frameless: false,
}).run();
36 changes: 18 additions & 18 deletions examples/user_agent.ts
@@ -1,18 +1,18 @@
import { WebView } from "../mod.ts";

await new WebView({
title: "User agent deno_webview example",
url: `data:text/html,
<html>
<body>
<h1 id="h1">2 Nav</h1>
<script>document.body.innerHTML = window.navigator.userAgent;</script>
</body>
</html>
`,
width: 800,
height: 600,
resizable: true,
debug: false,
frameless: false
}).run();
import { WebView } from "../mod.ts";

await new WebView({
title: "User agent deno_webview example",
url: `data:text/html,
<html>
<body>
<h1 id="h1">2 Nav</h1>
<script>document.body.innerHTML = window.navigator.userAgent;</script>
</body>
</html>
`,
width: 800,
height: 600,
resizable: true,
debug: false,
frameless: false,
}).run();

0 comments on commit e706cf8

Please sign in to comment.