Skip to content

Commit 0aa19af

Browse files
committed
Merge remote-tracking branch 'upstream/master' into prototype-inheritance
2 parents 3841ba9 + 1f39a30 commit 0aa19af

File tree

39 files changed

+43
-39
lines changed

39 files changed

+43
-39
lines changed

_package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"serve": "webpack-dev-server -p"
55
},
66
"devDependencies": {
7-
"@wasm-tool/wasm-pack-plugin": "0.4.2",
7+
"@wasm-tool/wasm-pack-plugin": "1.0.1",
88
"html-webpack-plugin": "^3.2.0",
99
"text-encoding": "^0.7.0",
1010
"webpack": "^4.29.4",

examples/add/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// For more comments about what's going on here, check out the `hello_world`
22
// example
3-
const rust = import('./pkg/add');
3+
const rust = import('./pkg');
44
rust
55
.then(m => alert('1 + 2 = ' + m.add(1, 2)))
66
.catch(console.error);

examples/add/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"serve": "webpack-dev-server -p"
55
},
66
"devDependencies": {
7-
"@wasm-tool/wasm-pack-plugin": "0.4.2",
7+
"@wasm-tool/wasm-pack-plugin": "1.0.1",
88
"html-webpack-plugin": "^3.2.0",
99
"text-encoding": "^0.7.0",
1010
"webpack": "^4.29.4",

examples/canvas/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// For more comments about what's going on here, check out the `hello_world`
22
// example.
3-
import('./pkg/canvas')
3+
import('./pkg')
44
.catch(console.error);

examples/canvas/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"serve": "webpack-dev-server"
55
},
66
"devDependencies": {
7-
"@wasm-tool/wasm-pack-plugin": "0.4.2",
7+
"@wasm-tool/wasm-pack-plugin": "1.0.1",
88
"text-encoding": "^0.7.0",
99
"html-webpack-plugin": "^3.2.0",
1010
"webpack": "^4.29.4",

examples/char/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable no-unused-vars */
22
import { chars } from './chars-list.js';
3-
let imp = import('./pkg/char');
3+
let imp = import('./pkg');
44
let mod;
55

66
let counters = [];

examples/char/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"serve": "webpack-dev-server"
55
},
66
"devDependencies": {
7-
"@wasm-tool/wasm-pack-plugin": "0.4.2",
7+
"@wasm-tool/wasm-pack-plugin": "1.0.1",
88
"text-encoding": "^0.7.0",
99
"html-webpack-plugin": "^3.2.0",
1010
"webpack": "^4.29.4",

examples/closures/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// For more comments about what's going on here, check out the `hello_world`
22
// example
3-
import('./pkg/closures')
3+
import('./pkg')
44
.catch(console.error);

examples/closures/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"serve": "webpack-dev-server"
55
},
66
"devDependencies": {
7-
"@wasm-tool/wasm-pack-plugin": "0.4.2",
7+
"@wasm-tool/wasm-pack-plugin": "1.0.1",
88
"text-encoding": "^0.7.0",
99
"html-webpack-plugin": "^3.2.0",
1010
"webpack": "^4.29.4",

examples/console_log/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// For more comments about what's going on here, check out the `hello_world`
22
// example
3-
import('./pkg/console_log')
3+
import('./pkg')
44
.catch(console.error);

0 commit comments

Comments
 (0)