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()); |
} |
} |