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

Unified Diff: sky/examples/stocks-fn/stockarrow.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/fn/widgets/toolbar.dart ('k') | sky/examples/stocks-fn/stocklist.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks-fn/stockarrow.dart
diff --git a/sky/examples/stocks-fn/stockarrow.dart b/sky/examples/stocks-fn/stockarrow.dart
index 8285e628010f7774e3a5a7b5f5b3ec618a669b36..82e52815d2ea57b1d7763f6a0a54933d5c15e9cb 100644
--- a/sky/examples/stocks-fn/stockarrow.dart
+++ b/sky/examples/stocks-fn/stockarrow.dart
@@ -67,7 +67,7 @@ class StockArrow extends Component {
return _kRedColors[_colorIndexForPercentChange(percentChange)];
}
- Node render() {
+ Node build() {
String border = _colorForPercentChange(percentChange).toString();
bool up = percentChange > 0;
String type = up ? 'bottom' : 'top';
« no previous file with comments | « sky/examples/fn/widgets/toolbar.dart ('k') | sky/examples/stocks-fn/stocklist.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698