Chromium Code Reviews| Index: client/samples/swarm/App.dart |
| diff --git a/client/samples/swarm/App.dart b/client/samples/swarm/App.dart |
| index c9659584b5f7d0f79f9077b903655e15a0e5b57e..45fe252cfa808358917b95616e3253c22327f848 100644 |
| --- a/client/samples/swarm/App.dart |
| +++ b/client/samples/swarm/App.dart |
| @@ -25,7 +25,7 @@ class App { |
| if (document.readyState == "interactive" || |
| document.readyState == "complete" || |
| document.readyState == "loaded") { |
| - this.onLoad(); |
| + window.setTimeout(() => onLoad(), 0); |
|
arv (Not doing code reviews)
2011/10/27 05:50:24
this could use a comment
Jacob
2011/10/27 20:59:25
Done.
|
| } else { |
| window.on.contentLoaded.add( |
| // TODO(sigmund): Consider eliminating the call to "wrap", for |