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

Unified Diff: samples-dev/swarm/swarm_ui_lib/view/ConveyorView.dart

Issue 2828603002: Format samples and samples-dev directories. (Closed)
Patch Set: Created 3 years, 8 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
Index: samples-dev/swarm/swarm_ui_lib/view/ConveyorView.dart
diff --git a/samples-dev/swarm/swarm_ui_lib/view/ConveyorView.dart b/samples-dev/swarm/swarm_ui_lib/view/ConveyorView.dart
index 87c0710af71221fba597e13611af7e1ce532a88f..1f6c56f6b97b43fca3504848a463b971021ad4b5 100644
--- a/samples-dev/swarm/swarm_ui_lib/view/ConveyorView.dart
+++ b/samples-dev/swarm/swarm_ui_lib/view/ConveyorView.dart
@@ -26,9 +26,8 @@ class ConveyorView extends CompositeView {
Timer animationTimer;
ConveyorView()
- : super('conveyor-view', true),
- animationTimer = null {
- }
+ : super('conveyor-view', true),
+ animationTimer = null {}
Element render() {
final result = super.render();
@@ -63,8 +62,9 @@ class ConveyorView extends CompositeView {
if (animate) {
animationTimer = new Timer(
- new Duration(milliseconds: ((durationSeconds * 1000).toInt())),
- () { _onAnimationEnd(); });
+ new Duration(milliseconds: ((durationSeconds * 1000).toInt())), () {
+ _onAnimationEnd();
+ });
}
// TODO(mattsh), we should set the visibility to hide everything but the
// selected view.
« no previous file with comments | « samples-dev/swarm/swarm_ui_lib/view/CompositeView.dart ('k') | samples-dev/swarm/swarm_ui_lib/view/MeasureText.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698