| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 part of html; | 7 part of $LIBRARYNAME; |
| 8 | 8 |
| 9 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 9 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
| 10 factory $CLASSNAME(String type, | 10 factory $CLASSNAME(String type, |
| 11 {bool canBubble: true, bool cancelable: true, Object detail}) { | 11 {bool canBubble: true, bool cancelable: true, Object detail}) { |
| 12 | 12 |
| 13 final CustomEvent e = document.$dom_createEvent("CustomEvent"); | 13 final CustomEvent e = document.$dom_createEvent("CustomEvent"); |
| 14 e.$dom_initCustomEvent(type, canBubble, cancelable, detail); | 14 e.$dom_initCustomEvent(type, canBubble, cancelable, detail); |
| 15 | 15 |
| 16 return e; | 16 return e; |
| 17 } | 17 } |
| 18 $!MEMBERS | 18 $!MEMBERS |
| 19 } | 19 } |
| OLD | NEW |