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

Unified Diff: samples-dev/swarm/App.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
« no previous file with comments | « no previous file | samples-dev/swarm/BiIterator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples-dev/swarm/App.dart
diff --git a/samples-dev/swarm/App.dart b/samples-dev/swarm/App.dart
index 2bf656c2dd8890ac1fa99552fd32bbbe710b95e8..06b5fad24f478cca6a71c5dbe29ba713700784bc 100644
--- a/samples-dev/swarm/App.dart
+++ b/samples-dev/swarm/App.dart
@@ -13,7 +13,6 @@ part of swarmlib;
* This class or something similar belongs in the standard DOM library.
*/
class App {
-
App() {}
/** Begins executing code in this [App]. */
@@ -32,10 +31,10 @@ class App {
Timer.run(onLoad);
} else {
window.onContentLoaded.listen(
- // TODO(sigmund): Consider eliminating the call to "wrap", for
- // instance, modify event listeners to always wrap, or extend DOM code
- // to intercept the beginning & end of each event loop
- EventBatch.wrap((Event event) => onLoad()));
+ // TODO(sigmund): Consider eliminating the call to "wrap", for
+ // instance, modify event listeners to always wrap, or extend DOM code
+ // to intercept the beginning & end of each event loop
+ EventBatch.wrap((Event event) => onLoad()));
}
}
@@ -52,8 +51,7 @@ class App {
// Swap and reload the cache if ready
if (!swapAndReloadCache()) {
// Otherwise wait until an update to the cache is ready
- window.applicationCache.onUpdateReady.listen(
- (e) => swapAndReloadCache());
+ window.applicationCache.onUpdateReady.listen((e) => swapAndReloadCache());
}
}
« no previous file with comments | « no previous file | samples-dev/swarm/BiIterator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698