Index: lib/html/templates/html/dart2js/html_dart2js.darttemplate |
diff --git a/lib/html/templates/html/dart2js/html_dart2js.darttemplate b/lib/html/templates/html/dart2js/html_dart2js.darttemplate |
index fe44af3b412fd42ee1ed08995066f9ea4900b5b3..865bf442b097c965aab22f4eb77325d4cad2d8e4 100644 |
--- a/lib/html/templates/html/dart2js/html_dart2js.darttemplate |
+++ b/lib/html/templates/html/dart2js/html_dart2js.darttemplate |
@@ -38,18 +38,15 @@ part '$AUXILIARY_DIR/_Lists.dart'; |
LocalWindow get window => JS('LocalWindow', 'window'); |
-_LocalWindowImpl get _window => JS('_LocalWindowImpl', 'window'); |
Document get document => JS('Document', 'document'); |
-_DocumentImpl get _document => JS('_DocumentImpl', 'document'); |
- |
-Element query(String selector) => _document.query(selector); |
-List<Element> queryAll(String selector) => _document.queryAll(selector); |
+Element query(String selector) => document.query(selector); |
+List<Element> queryAll(String selector) => document.queryAll(selector); |
// Workaround for tags like <cite> that lack their own Element subclass -- |
// Dart issue 1990. |
-class _HTMLElementImpl extends _ElementImpl native "*HTMLElement" { |
+class HTMLElement extends Element native "*HTMLElement" { |
} |
// Support for Send/ReceivePortSync. |