Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
17
third-party/vendor/wasm-bindgen/tests/wasm/duplicate_deps.js
vendored
Normal file
17
third-party/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