| 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 // DO NOT EDIT | 5 // DO NOT EDIT |
| 6 // Auto-generated dart:html library. | 6 // Auto-generated dart:html library. |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * HTML elements and other resources for web-based applications that need to | 9 * HTML elements and other resources for web-based applications that need to |
| 10 * interact with the browser and the DOM (Document Object Model). | 10 * interact with the browser and the DOM (Document Object Model). |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * and run its built-in examples. | 26 * and run its built-in examples. |
| 27 * | 27 * |
| 28 * * For even more examples, see | 28 * * For even more examples, see |
| 29 * [Dart HTML5 Samples](https://github.com/dart-lang/dart-html5-samples) | 29 * [Dart HTML5 Samples](https://github.com/dart-lang/dart-html5-samples) |
| 30 * on Github. | 30 * on Github. |
| 31 */ | 31 */ |
| 32 library dart.dom.html; | 32 library dart.dom.html; |
| 33 | 33 |
| 34 import 'dart:async'; | 34 import 'dart:async'; |
| 35 import 'dart:collection'; | 35 import 'dart:collection'; |
| 36 import 'dart:_collection-dev' hide Symbol, deprecated; | 36 import 'dart:_internal' hide Symbol, deprecated; |
| 37 import 'dart:html_common'; | 37 import 'dart:html_common'; |
| 38 import 'dart:indexed_db'; | 38 import 'dart:indexed_db'; |
| 39 import 'dart:isolate'; | 39 import 'dart:isolate'; |
| 40 import "dart:convert"; | 40 import "dart:convert"; |
| 41 import 'dart:math'; | 41 import 'dart:math'; |
| 42 // TODO(vsm): Remove this when we can do the proper checking in | 42 // TODO(vsm): Remove this when we can do the proper checking in |
| 43 // native code for custom elements. | 43 // native code for custom elements. |
| 44 import 'dart:mirrors'; | 44 import 'dart:mirrors'; |
| 45 import 'dart:nativewrappers'; | 45 import 'dart:nativewrappers'; |
| 46 import 'dart:typed_data'; | 46 import 'dart:typed_data'; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 /** | 111 /** |
| 112 * Root node for all content in a web page. | 112 * Root node for all content in a web page. |
| 113 */ | 113 */ |
| 114 HtmlDocument get document { | 114 HtmlDocument get document { |
| 115 if (_document != null) { | 115 if (_document != null) { |
| 116 return _document; | 116 return _document; |
| 117 } | 117 } |
| 118 _document = window.document; | 118 _document = window.document; |
| 119 return _document; | 119 return _document; |
| 120 } | 120 } |
| OLD | NEW |