From 82b110ad4ca7de63aa38408d6764b17677296339 Mon Sep 17 00:00:00 2001 From: konsoletyper Date: Mon, 9 Feb 2015 00:00:53 +0400 Subject: [PATCH] Fix little bug in $rt_rootInvocationAdapter --- .../src/main/resources/org/teavm/javascript/runtime.js | 5 ----- teavm-eclipse/teavm-eclipse-core-plugin/META-INF/MANIFEST.MF | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/teavm-core/src/main/resources/org/teavm/javascript/runtime.js b/teavm-core/src/main/resources/org/teavm/javascript/runtime.js index ec07f8bfa..aa30330b7 100644 --- a/teavm-core/src/main/resources/org/teavm/javascript/runtime.js +++ b/teavm-core/src/main/resources/org/teavm/javascript/runtime.js @@ -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(); }); diff --git a/teavm-eclipse/teavm-eclipse-core-plugin/META-INF/MANIFEST.MF b/teavm-eclipse/teavm-eclipse-core-plugin/META-INF/MANIFEST.MF index 2d20e3fa8..751ae8231 100644 --- a/teavm-eclipse/teavm-eclipse-core-plugin/META-INF/MANIFEST.MF +++ b/teavm-eclipse/teavm-eclipse-core-plugin/META-INF/MANIFEST.MF @@ -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,