Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: lib/dom/templates/html/impl/impl_Element.darttemplate

Issue 10447091: Cleanup NodeSelectors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/dom/templates/html/impl/impl_Element.darttemplate
diff --git a/lib/dom/templates/html/impl/impl_Element.darttemplate b/lib/dom/templates/html/impl/impl_Element.darttemplate
index d256f5c87605c2c101a8b95cbf66f4b01ee9d029..59e2dfa2ef013d261032a58bb4b7ff125b898c45 100644
--- a/lib/dom/templates/html/impl/impl_Element.darttemplate
+++ b/lib/dom/templates/html/impl/impl_Element.darttemplate
@@ -679,6 +679,8 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
ElementList get elements() => new _ChildrenElementList._wrap(this);
+ _ElementImpl query(String selectors) => $dom_querySelector(selectors);
+
ElementList queryAll(String selectors) =>
new _FrozenElementList._wrap($dom_querySelectorAll(selectors));

Powered by Google App Engine
This is Rietveld 408576698