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

Side by Side Diff: sky/sdk/lib/framework/fn2.dart

Issue 1169543009: Fix syntax error that resulted from badly converting a .forEach() to a for-in. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 library fn; 5 library fn;
6 6
7 import 'app.dart'; 7 import 'app.dart';
8 import 'dart:async'; 8 import 'dart:async';
9 import 'dart:collection'; 9 import 'dart:collection';
10 import 'dart:mirrors'; 10 import 'dart:mirrors';
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 try { 69 try {
70 _notifyingMountStatus = true; 70 _notifyingMountStatus = true;
71 for (UINode node in _mountedChanged) { 71 for (UINode node in _mountedChanged) {
72 if (node._wasMounted != node._mounted) { 72 if (node._wasMounted != node._mounted) {
73 if (node._mounted) 73 if (node._mounted)
74 node._didMount(); 74 node._didMount();
75 else 75 else
76 node._didUnmount(); 76 node._didUnmount();
77 node._wasMounted = node._mounted; 77 node._wasMounted = node._mounted;
78 } 78 }
79 }); 79 }
80 _mountedChanged.clear(); 80 _mountedChanged.clear();
81 } finally { 81 } finally {
82 _notifyingMountStatus = false; 82 _notifyingMountStatus = false;
83 } 83 }
84 } 84 }
85 void _didMount() { } 85 void _didMount() { }
86 void _didUnmount() { } 86 void _didUnmount() { }
87 87
88 RenderObject root; 88 RenderObject root;
89 89
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 assert(root.parent is RenderView); 1007 assert(root.parent is RenderView);
1008 } 1008 }
1009 } 1009 }
1010 1010
1011 class Text extends Component { 1011 class Text extends Component {
1012 Text(this.data) : super(key: '*text*'); 1012 Text(this.data) : super(key: '*text*');
1013 final String data; 1013 final String data;
1014 bool get interchangeable => true; 1014 bool get interchangeable => true;
1015 UINode build() => new Paragraph(text: data); 1015 UINode build() => new Paragraph(text: data);
1016 } 1016 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698