mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 20:41:24 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@ -153,3 +153,13 @@ global.MixinFoo = class MixinFoo {
|
||||
global.Overloads = class {
|
||||
foo() {}
|
||||
};
|
||||
|
||||
global.InvokeCallback = class {
|
||||
invoke(f) { f(); }
|
||||
callAdd(f) {
|
||||
return f(1, 2);
|
||||
}
|
||||
callRepeat(f) {
|
||||
return f('ab', 4);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user