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 #library("html"); | 8 #library("html"); |
9 | 9 |
10 #import("dart:isolate"); | 10 #import("dart:isolate"); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 Document get document() { | 49 Document get document() { |
50 if (__document !== null) { | 50 if (__document !== null) { |
51 return __document; | 51 return __document; |
52 } | 52 } |
53 __document = _document; | 53 __document = _document; |
54 return __document; | 54 return __document; |
55 } | 55 } |
56 | 56 |
57 Document get _document() => _window.document; | 57 Document get _document() => _window.document; |
58 | 58 |
| 59 Element query(String selector) => _document.query(selector); |
| 60 ElementList queryAll(String selector) => _document.queryAll(selector); |
| 61 |
59 class _Null { | 62 class _Null { |
60 const _Null(); | 63 const _Null(); |
61 } | 64 } |
62 | 65 |
63 final _null = const _Null(); | 66 final _null = const _Null(); |
OLD | NEW |