Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: web-sys output support #25

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ members = [
"typed-html",
"macros",
"examples/stdweb",
"examples/web_sys",
"examples/rocket",
"ui",
]
2 changes: 1 addition & 1 deletion examples/stdweb/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>typed-html WASM example</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="./typed-html-wasm-test.js"></script>
<script src="./typed-html-stdweb-test.js"></script>
</head>
<body>
</body>
Expand Down
2 changes: 2 additions & 0 deletions examples/stdweb/www/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ var express = require('express');
var path = require('path');
var pathToBuild = process.argv[2] || '../../../target/wasm32-unknown-unknown/release';

express.static.mime.define({'application/wasm': ['wasm']});

var app = express();

app.use(express.static(path.resolve(pathToBuild), { index: false }));
Expand Down
358 changes: 358 additions & 0 deletions examples/stdweb/www/package-lock.json

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

Loading