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

Unified Diff: sky/examples/stocks-fn/stockrow.dart

Issue 992033002: Change the name of Component.render to Component.build in Effen (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: README Created 5 years, 9 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
« no previous file with comments | « sky/examples/stocks-fn/stocklist.dart ('k') | sky/examples/stocks-fn/stocksapp.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks-fn/stockrow.dart
diff --git a/sky/examples/stocks-fn/stockrow.dart b/sky/examples/stocks-fn/stockrow.dart
index 89354cb558c9b1cfd61c549a7212e168c94829d1..5ee0313c54c2185ad24d282ad0aff7393d83b293 100644
--- a/sky/examples/stocks-fn/stockrow.dart
+++ b/sky/examples/stocks-fn/stockrow.dart
@@ -34,7 +34,7 @@ class StockRow extends MaterialComponent {
this.stock = stock;
}
- Node render() {
+ Node build() {
String lastSale = "\$${stock.lastSale.toStringAsFixed(2)}";
String changeInPrice = "${stock.percentChange.toStringAsFixed(2)}%";
@@ -62,7 +62,7 @@ class StockRow extends MaterialComponent {
)
];
- children.add(super.render());
+ children.add(super.build());
return new Container(
style: _style,
« no previous file with comments | « sky/examples/stocks-fn/stocklist.dart ('k') | sky/examples/stocks-fn/stocksapp.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698