Fix little bug in $rt_rootInvocationAdapter

This commit is contained in:
konsoletyper 2015-02-09 00:00:53 +04:00
parent 62431c493c
commit 82b110ad4c
2 changed files with 1 additions and 6 deletions

View File

@ -426,11 +426,6 @@ function $rt_asyncAdapter(f) {
function $rt_rootInvocationAdapter(f) { function $rt_rootInvocationAdapter(f) {
return function() { return function() {
var args = Array.prototype.slice.apply(arguments); 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) { args.push(function(result) {
result(); result();
}); });

View File

@ -59,7 +59,7 @@ Export-Package: org.teavm.cache,
org.teavm.diagnostics, org.teavm.diagnostics,
org.teavm.javascript, org.teavm.javascript,
org.teavm.javascript.ast, org.teavm.javascript.ast,
org.teavm.javascript.ni, org.teavm.javascript.spi,
org.teavm.model, org.teavm.model,
org.teavm.model.instructions, org.teavm.model.instructions,
org.teavm.model.util, org.teavm.model.util,