OLD | NEW |
1 part of swarmlib; | |
2 | |
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
4 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
5 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
6 | 4 |
7 /** | 5 /** |
8 * A simple news reader in Dart. | 6 * A simple news reader in Dart. |
9 */ | 7 */ |
10 class Swarm extends App { | 8 class Swarm extends App { |
11 /** | 9 /** |
12 * Flag to insure the onLoad isn't called when callback from initializeFromUrl | 10 * Flag to insure the onLoad isn't called when callback from initializeFromUrl |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 refresh(); | 78 refresh(); |
81 eraseSplashScreen(); | 79 eraseSplashScreen(); |
82 } | 80 } |
83 } | 81 } |
84 | 82 |
85 void render() { | 83 void render() { |
86 frontView = new FrontView(this); | 84 frontView = new FrontView(this); |
87 frontView.addToDocument(document.body); | 85 frontView.addToDocument(document.body); |
88 } | 86 } |
89 } | 87 } |
OLD | NEW |