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

Unified Diff: test/codegen/expect/dom/dom.js

Issue 1680263002: Support for dart:typed_data (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Address comments, rebase Created 4 years, 10 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
« no previous file with comments | « test/codegen/expect/collection/src/wrappers.txt ('k') | test/codegen/expect/language-all.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/dom/dom.js
diff --git a/test/codegen/expect/dom/dom.js b/test/codegen/expect/dom/dom.js
index c577cada7d0490668b5b3e64ecdbf64753a6818e..9640c32a5fa5e2685298882add1d54e0756f45e3 100644
--- a/test/codegen/expect/dom/dom.js
+++ b/test/codegen/expect/dom/dom.js
@@ -17,7 +17,11 @@ dart_library.library('dom/dom', window, /* Imports */[
dart.setSignature(CustomEvent, {
constructors: () => ({CustomEvent: [CustomEvent, [core.String], {detail: dart.dynamic, bubbles: dart.dynamic, cancelable: dart.dynamic}]})
});
- class HTMLCollection extends core.Object {}
+ class HTMLCollection extends core.Object {
+ get(index) {
+ return this["[]"](index);
+ }
+ }
dart.setSignature(HTMLCollection, {
methods: () => ({get: [Element, [core.num]]})
});
« no previous file with comments | « test/codegen/expect/collection/src/wrappers.txt ('k') | test/codegen/expect/language-all.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698