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

Unified Diff: samples/logo/logo.dart

Issue 11413071: Deprecating Element.elements for Element.children. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review feedback. Created 8 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
« no previous file with comments | « samples/chat/dart_client/chat.dart ('k') | samples/newissues/newissues.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/logo/logo.dart
diff --git a/samples/logo/logo.dart b/samples/logo/logo.dart
index 6413b94f32802b7fb5a323e77418189305777322..8c09583f64fb1fd5d54397d84dcb02d2b359188c 100644
--- a/samples/logo/logo.dart
+++ b/samples/logo/logo.dart
@@ -175,7 +175,7 @@ void main() {
</svg>
""");
- query("#icon").elements.add(logo);
+ query("#icon").children.add(logo);
logo.queryAll("path").forEach((p) {
defaultColors[p.id] = new Color.hex(p.style.getPropertyValue('fill'));
});
« no previous file with comments | « samples/chat/dart_client/chat.dart ('k') | samples/newissues/newissues.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698