| 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 // Fake dart:html library for documentation. | 5 // Fake dart:html library for documentation. |
| 6 | 6 |
| 7 /// The Dart HTML5 Library. | 7 /// The Dart HTML5 Library. |
| 8 library dart_html; | 8 #library("dart:html"); |
| 9 | 9 |
| 10 part 'interface/AbstractWorker.dartdoc'; | 10 #source('interface/AbstractWorker.dartdoc'); |
| 11 part 'interface/Element.dartdoc'; | 11 #source('interface/Element.dartdoc'); |
| 12 part 'interface/Event.dartdoc'; | 12 #source('interface/Event.dartdoc'); |
| 13 part 'interface/EventTarget.dartdoc'; | 13 #source('interface/EventTarget.dartdoc'); |
| 14 part 'interface/HttpRequest.dartdoc'; | 14 #source('interface/HttpRequest.dartdoc'); |
| 15 part 'interface/MouseEvent.dartdoc'; | 15 #source('interface/MouseEvent.dartdoc'); |
| 16 part 'interface/Storage.dartdoc'; | 16 #source('interface/Storage.dartdoc'); |
| 17 part 'interface/Node.dartdoc'; | 17 #source('interface/Node.dartdoc'); |
| 18 part 'interface/UIEvent.dartdoc'; | 18 #source('interface/UIEvent.dartdoc'); |
| 19 part 'interface/WebSocket.dartdoc'; | 19 #source('interface/WebSocket.dartdoc'); |
| 20 | 20 |
| 21 // Implementation files that appear to be necessary to load the sources. | 21 // Implementation files that appear to be necessary to load the sources. |
| 22 | 22 |
| 23 //part 'nodoc-src/SomeFile.dart'; | 23 //#source('nodoc-src/SomeFile.dart'); |
| 24 | 24 |
| 25 // Global definitions. | 25 // Global definitions. |
| 26 | 26 |
| 27 /** | 27 /** |
| 28 * The top-level Window object. | 28 * The top-level Window object. |
| 29 */ | 29 */ |
| 30 Window get window() => null; | 30 Window get window() => null; |
| 31 | 31 |
| 32 /** | 32 /** |
| 33 * The top-level Document object. | 33 * The top-level Document object. |
| 34 */ | 34 */ |
| 35 Document get document() => null; | 35 Document get document() => null; |
| 36 | 36 |
| 37 typedef void EventListener(Event event); | 37 typedef void EventListener(Event event); |
| OLD | NEW |