| 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 $!GENERATED_DART_FILES | 10 $!GENERATED_DART_FILES |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #source('../../dom/src/_Lists.dart'); | 29 #source('../../dom/src/_Lists.dart'); |
| 30 | 30 |
| 31 | 31 |
| 32 Window get window() native "return window;"; | 32 Window get window() native "return window;"; |
| 33 _WindowImpl get _window() native "return window;"; | 33 _WindowImpl get _window() native "return window;"; |
| 34 | 34 |
| 35 Document get document() native "return document;"; | 35 Document get document() native "return document;"; |
| 36 | 36 |
| 37 _DocumentImpl get _document() native "return document;"; | 37 _DocumentImpl get _document() native "return document;"; |
| 38 | 38 |
| 39 Element query(String selector) => _document.query(selector); |
| 40 ElementList queryAll(String selector) => _document.queryAll(selector); |
| 41 |
| 39 // Workaround for tags like <cite> that lack their own Element subclass -- | 42 // Workaround for tags like <cite> that lack their own Element subclass -- |
| 40 // Dart issue 1990. | 43 // Dart issue 1990. |
| 41 class _HTMLElementImpl extends _ElementImpl native "*HTMLElement" { | 44 class _HTMLElementImpl extends _ElementImpl native "*HTMLElement" { |
| 42 } | 45 } |
| OLD | NEW |