mirror of
https://github.com/dart-lang/sdk
synced 2024-09-21 07:51:39 +00:00
Fixed example in dart:html Events
BUG= https://code.google.com/p/dart/issues/detail?id=19641 R=efortuna@google.com Review URL: https://codereview.chromium.org//365083006 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37990 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
13b10de8db
commit
bc4c2eba68
|
@ -12293,10 +12293,10 @@ class EventSource extends EventTarget native "EventSource" {
|
|||
*
|
||||
* Custom events can be declared as:
|
||||
*
|
||||
* class DataGenerator {
|
||||
* static EventStreamProvider<Event> dataEvent =
|
||||
* new EventStreamProvider('data');
|
||||
* }
|
||||
* class DataGenerator {
|
||||
* static EventStreamProvider<Event> dataEvent =
|
||||
* new EventStreamProvider('data');
|
||||
* }
|
||||
*
|
||||
* Then listeners should access the event with:
|
||||
*
|
||||
|
|
|
@ -12526,10 +12526,10 @@ class EventSource extends EventTarget {
|
|||
*
|
||||
* Custom events can be declared as:
|
||||
*
|
||||
* class DataGenerator {
|
||||
* static EventStreamProvider<Event> dataEvent =
|
||||
* new EventStreamProvider('data');
|
||||
* }
|
||||
* class DataGenerator {
|
||||
* static EventStreamProvider<Event> dataEvent =
|
||||
* new EventStreamProvider('data');
|
||||
* }
|
||||
*
|
||||
* Then listeners should access the event with:
|
||||
*
|
||||
|
|
|
@ -22,10 +22,10 @@ part of $LIBRARYNAME;
|
|||
*
|
||||
* Custom events can be declared as:
|
||||
*
|
||||
* class DataGenerator {
|
||||
* static EventStreamProvider<Event> dataEvent =
|
||||
* new EventStreamProvider('data');
|
||||
* }
|
||||
* class DataGenerator {
|
||||
* static EventStreamProvider<Event> dataEvent =
|
||||
* new EventStreamProvider('data');
|
||||
* }
|
||||
*
|
||||
* Then listeners should access the event with:
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue