Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Unified Diff: lib/runtime/dart/js.js

Issue 1200243002: fixes #232, handling of arguments (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/runtime/dart/js.js
diff --git a/lib/runtime/dart/js.js b/lib/runtime/dart/js.js
index e0d18f5558bf12af9ca07662446450705bffdc96..ca0b38c1828283ab57051affeb90e1a5fbe5aa03 100644
--- a/lib/runtime/dart/js.js
+++ b/lib/runtime/dart/js.js
@@ -18,7 +18,7 @@ dart_library.library('dart/js', null, /* Imports */[
let captureThis = opts && 'captureThis' in opts ? opts.captureThis : false;
return function(_call, f, captureThis) {
return function() {
- return _call(f, captureThis, this, Array.prototype.slice.apply(arguments$));
+ return _call(f, captureThis, this, Array.prototype.slice.apply(arguments));
};
}(_foreign_helper.DART_CLOSURE_TO_JS(_callDartFunction), f, captureThis);
}

Powered by Google App Engine
This is Rietveld 408576698