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

Unified Diff: sky/examples/fn/lib/component.dart

Issue 973613004: Clean up some Dart idioms in fn (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | sky/examples/fn/lib/fn.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/fn/lib/component.dart
diff --git a/sky/examples/fn/lib/component.dart b/sky/examples/fn/lib/component.dart
index 1263b416252b540fcc7184dc524e5620ca907873..1503e6348cf5d16475da53b0949efccfb8117981 100644
--- a/sky/examples/fn/lib/component.dart
+++ b/sky/examples/fn/lib/component.dart
@@ -1,3 +1,7 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
part of fn;
List<Component> _dirtyComponents = new List<Component>();
@@ -30,7 +34,7 @@ abstract class Component extends Node {
bool _dirty = true; // components begin dirty because they haven't rendered.
Node _rendered = null;
bool _removed = false;
- int _order;
+ final int _order;
static int _currentOrder = 0;
bool _stateful;
static Component _currentlyRendering;
« no previous file with comments | « no previous file | sky/examples/fn/lib/fn.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698