| 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 part of $LIBRARYNAME; | 5 part of $LIBRARYNAME; |
| 6 | 6 |
| 7 @DocsEditable | 7 @DocsEditable() |
| 8 $if DART2JS | 8 $if DART2JS |
| 9 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS native "Wind
ow,DOMWindow" { | 9 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS native "Wind
ow,DOMWindow" { |
| 10 $else | 10 $else |
| 11 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 11 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
| 12 $endif | 12 $endif |
| 13 | 13 |
| 14 /** | 14 /** |
| 15 * Executes a [callback] after the immediate execution stack has completed. | 15 * Executes a [callback] after the immediate execution stack has completed. |
| 16 * | 16 * |
| 17 * This differs from using Timer.run(callback) | 17 * This differs from using Timer.run(callback) |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 return wrapped.returnValue; | 370 return wrapped.returnValue; |
| 371 }); | 371 }); |
| 372 | 372 |
| 373 return controller.stream; | 373 return controller.stream; |
| 374 } | 374 } |
| 375 | 375 |
| 376 String getEventType(EventTarget target) { | 376 String getEventType(EventTarget target) { |
| 377 return _eventType; | 377 return _eventType; |
| 378 } | 378 } |
| 379 } | 379 } |
| OLD | NEW |