| Index: test/codegen/expect/sunflower/dom.js
|
| diff --git a/test/codegen/expect/sunflower/dom.js b/test/codegen/expect/sunflower/dom.js
|
| index c324f7956167091efdac66d831fc5ca98d9ed60c..d9299c2427ebc576d235915505e7891c786d07be 100644
|
| --- a/test/codegen/expect/sunflower/dom.js
|
| +++ b/test/codegen/expect/sunflower/dom.js
|
| @@ -17,7 +17,11 @@ dart_library.library('sunflower/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]]})
|
| });
|
|
|