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

Unified Diff: dart/samples/third_party/dromaeo/Dromaeo.dart

Issue 66253002: Version 0.8.10.9 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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: dart/samples/third_party/dromaeo/Dromaeo.dart
===================================================================
--- dart/samples/third_party/dromaeo/Dromaeo.dart (revision 30098)
+++ dart/samples/third_party/dromaeo/Dromaeo.dart (working copy)
@@ -77,7 +77,7 @@
// to .innerHtml update above.
_element = div.nodes[0];
- document.query('#main').nodes.add(div);
+ document.querySelector('#main').nodes.add(div);
}
DivElement _createDiv(String clazz) {
@@ -221,7 +221,7 @@
}
Element _byId(String id) {
- return document.query('#$id');
+ return document.querySelector('#$id');
}
int get _suitesTotal {
« no previous file with comments | « dart/samples/third_party/angular_todo/todo.dart ('k') | dart/samples/third_party/dromaeo/tests/dom-attr-html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698