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

Unified Diff: sky/examples/stocks/lib/stock_row.dart

Issue 1043283003: [Effen] s/Node/UINode/, s/Element/WrapperNode/, s/EventTarget/EventListenerNode/ (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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/lib/stock_menu.dart ('k') | sky/examples/widgets/widgets_app.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks/lib/stock_row.dart
diff --git a/sky/examples/stocks/lib/stock_row.dart b/sky/examples/stocks/lib/stock_row.dart
index 6332366a66c48db12b08286e795892af687dcfcd..235183b3c674f0674d1674eebf47001cda9c2bef 100644
--- a/sky/examples/stocks/lib/stock_row.dart
+++ b/sky/examples/stocks/lib/stock_row.dart
@@ -39,14 +39,14 @@ class StockRow extends Component {
this.stock = stock;
}
- Node build() {
+ UINode build() {
String lastSale = "\$${stock.lastSale.toStringAsFixed(2)}";
String changeInPrice = "${stock.percentChange.toStringAsFixed(2)}%";
if (stock.percentChange > 0)
changeInPrice = "+" + changeInPrice;
- List<Node> children = [
+ List<UINode> children = [
new StockArrow(
percentChange: stock.percentChange
),
« no previous file with comments | « sky/examples/stocks/lib/stock_menu.dart ('k') | sky/examples/widgets/widgets_app.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698