Vendor dependencies
Let's see how I like this workflow.
This commit is contained in:
parent
34d1830413
commit
9c435dc440
7500 changed files with 1665121 additions and 99 deletions
17
vendor/wasm-bindgen/tests/wasm/duplicate_deps.js
vendored
Normal file
17
vendor/wasm-bindgen/tests/wasm/duplicate_deps.js
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
const assert = require('assert');
|
||||
|
||||
let next = null;
|
||||
|
||||
exports.assert_next_undefined = function() {
|
||||
next = undefined;
|
||||
};
|
||||
|
||||
exports.assert_next_ten = function() {
|
||||
next = 10;
|
||||
};
|
||||
|
||||
exports.foo = function(a) {
|
||||
console.log(a, next);
|
||||
assert.strictEqual(a, next);
|
||||
next = null;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue