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

Unified Diff: samples-dev/swarm/swarm_ui_lib/observable/ChangeEvent.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/observable/ChangeEvent.dart
diff --git a/samples-dev/swarm/swarm_ui_lib/observable/ChangeEvent.dart b/samples-dev/swarm/swarm_ui_lib/observable/ChangeEvent.dart
index b545ea47f61d8050404e153fd128e2c9e725e953..ebc7ad109aaf896b6eee06d794dd70636c28b151 100644
--- a/samples-dev/swarm/swarm_ui_lib/observable/ChangeEvent.dart
+++ b/samples-dev/swarm/swarm_ui_lib/observable/ChangeEvent.dart
@@ -47,16 +47,21 @@ class ChangeEvent {
/** Factory constructor for property change events. */
ChangeEvent.property(
this.target, this.propertyName, this.newValue, this.oldValue)
- : type = UPDATE, index = null;
+ : type = UPDATE,
+ index = null;
/** Factory constructor for list change events. */
ChangeEvent.list(
this.target, this.type, this.index, this.newValue, this.oldValue)
- : propertyName = null;
+ : propertyName = null;
/** Factory constructor for [GLOBAL] change events. */
ChangeEvent.global(this.target)
- : type = GLOBAL, newValue = null, oldValue = null, propertyName = null, index = null;
+ : type = GLOBAL,
+ newValue = null,
+ oldValue = null,
+ propertyName = null,
+ index = null;
}
/** A collection of change events on a single observable instance. */
« no previous file with comments | « samples-dev/swarm/swarm_ui_lib/layout/ViewLayout.dart ('k') | samples-dev/swarm/swarm_ui_lib/observable/EventBatch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698