| Index: sdk/lib/html/templates/html/impl/impl_CustomEvent.darttemplate
|
| diff --git a/sdk/lib/html/templates/html/impl/impl_ShadowRoot.darttemplate b/sdk/lib/html/templates/html/impl/impl_CustomEvent.darttemplate
|
| similarity index 61%
|
| copy from sdk/lib/html/templates/html/impl/impl_ShadowRoot.darttemplate
|
| copy to sdk/lib/html/templates/html/impl/impl_CustomEvent.darttemplate
|
| index 32c953a0f895e91db3676c694d43d22f36f01170..d76c0383a20bd3dffe3d1beeef1b015708c4fcd2 100644
|
| --- a/sdk/lib/html/templates/html/impl/impl_ShadowRoot.darttemplate
|
| +++ b/sdk/lib/html/templates/html/impl/impl_CustomEvent.darttemplate
|
| @@ -5,11 +5,8 @@
|
| // WARNING: Do not edit - generated code.
|
|
|
| class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| + factory $CLASSNAME(String type, [bool canBubble = true, bool cancelable = true,
|
| + Object detail]) => _$(CLASSNAME)FactoryProvider.create$CLASSNAME(
|
| + type, canBubble, cancelable, detail);
|
| $!MEMBERS
|
| -$if DART2JS
|
| - static bool get supported =>
|
| - JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot)');
|
| -$else
|
| - static bool get supported => _Utils.shadowRootSupported(window.document);
|
| -$endif
|
| }
|
|
|