Index: sdk/lib/html/templates/html/impl/impl_Event.darttemplate |
diff --git a/sdk/lib/html/templates/html/interface/interface_Event.darttemplate b/sdk/lib/html/templates/html/impl/impl_Event.darttemplate |
similarity index 72% |
copy from sdk/lib/html/templates/html/interface/interface_Event.darttemplate |
copy to sdk/lib/html/templates/html/impl/impl_Event.darttemplate |
index 141f0d6c57065ddb3c6807545bccc4a27e397ad1..55d603959e090d927491c57e184470ef9d6ce2a8 100644 |
--- a/sdk/lib/html/templates/html/interface/interface_Event.darttemplate |
+++ b/sdk/lib/html/templates/html/impl/impl_Event.darttemplate |
@@ -4,17 +4,14 @@ |
// WARNING: Do not edit - generated code. |
-part of html; |
- |
-$!COMMENT |
-abstract class $ID$EXTENDS { |
- |
+class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
// In JS, canBubble and cancelable are technically required parameters to |
// init*Event. In practice, though, if they aren't provided they simply |
// default to false (since that's Boolean(undefined)). |
// |
// Contrary to JS, we default canBubble and cancelable to true, since that's |
// what people want most of the time anyway. |
- factory $ID(String type, [bool canBubble = true, bool cancelable = true]) => |
- _$(ID)FactoryProvider.create$ID(type, canBubble, cancelable); |
-$!MEMBERS} |
+ factory $CLASSNAME(String type, [bool canBubble = true, bool cancelable = true]) => |
+ _$(CLASSNAME)FactoryProvider.create$CLASSNAME(type, canBubble, cancelable); |
+$!MEMBERS |
+} |