| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 interface EventSource extends EventTarget { |
| 8 |
| 9 static final int CLOSED = 2; |
| 10 |
| 11 static final int CONNECTING = 0; |
| 12 |
| 13 static final int OPEN = 1; |
| 14 |
| 15 final String URL; |
| 16 |
| 17 final int readyState; |
| 18 |
| 19 final String url; |
| 20 |
| 21 EventSourceEvents get on(); |
| 22 |
| 23 void close(); |
| 24 } |
| 25 |
| 26 interface EventSourceEvents extends Events { |
| 27 |
| 28 EventListenerList get error(); |
| 29 |
| 30 EventListenerList get message(); |
| 31 |
| 32 EventListenerList get open(); |
| 33 } |
| OLD | NEW |