mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix little bug in $rt_rootInvocationAdapter
This commit is contained in:
parent
62431c493c
commit
82b110ad4c
|
@ -426,11 +426,6 @@ function $rt_asyncAdapter(f) {
|
|||
function $rt_rootInvocationAdapter(f) {
|
||||
return function() {
|
||||
var args = Array.prototype.slice.apply(arguments);
|
||||
if (extraArgs) {
|
||||
for (var i = 0; i < extraArts.length; ++i) {
|
||||
args.push(extraArgs[i]);
|
||||
}
|
||||
}
|
||||
args.push(function(result) {
|
||||
result();
|
||||
});
|
||||
|
|
|
@ -59,7 +59,7 @@ Export-Package: org.teavm.cache,
|
|||
org.teavm.diagnostics,
|
||||
org.teavm.javascript,
|
||||
org.teavm.javascript.ast,
|
||||
org.teavm.javascript.ni,
|
||||
org.teavm.javascript.spi,
|
||||
org.teavm.model,
|
||||
org.teavm.model.instructions,
|
||||
org.teavm.model.util,
|
||||
|
|
Loading…
Reference in New Issue
Block a user