| Index: tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
|
| index a75d1fc303581ebf5ccad93796fbf35cb9074e4c..3788797bb7c4cd5611af1034712c19f4eecf8228 100644
|
| --- a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate
|
| @@ -168,6 +168,14 @@ $endif
|
|
|
|
|
| $if DART2JS
|
| + void register(String tag, Type customElementClass) {
|
| + registerCustomElement(JS('', 'window'), this, tag, customElementClass);
|
| + }
|
| +$else
|
| +$endif
|
| +
|
| +
|
| +$if DART2JS
|
| @Creates('Null') // Set from Dart code; does not instantiate a native type.
|
| $endif
|
| // Note: used to polyfill <template>
|
|
|