| Index: samples/pop_pop_win/lib/src/html/high_score_view.dart
|
| diff --git a/samples/pop_pop_win/lib/src/html/high_score_view.dart b/samples/pop_pop_win/lib/src/html/high_score_view.dart
|
| deleted file mode 100644
|
| index 174c40d5b25ddd6900abe9de4624c11e07c4798d..0000000000000000000000000000000000000000
|
| --- a/samples/pop_pop_win/lib/src/html/high_score_view.dart
|
| +++ /dev/null
|
| @@ -1,27 +0,0 @@
|
| -part of pop_pop_win.html;
|
| -
|
| -class HighScoreView {
|
| - final DivElement _div;
|
| - final GameManager _manager;
|
| -
|
| - HighScoreView(this._manager, this._div) {
|
| - assert(_div != null);
|
| - assert(_manager != null);
|
| -
|
| - _manager.bestTimeUpdated.listen((args) => _update());
|
| -
|
| - _update();
|
| - }
|
| -
|
| - void _update() {
|
| - _manager.bestTimeMilliseconds
|
| - .then((int milliseconds) {
|
| - if(milliseconds != null) {
|
| - final duration = new Duration(seconds: milliseconds ~/ 1000);
|
| - _div.innerHtml = duration.toString();
|
| - } else {
|
| - _div.innerHtml = '';
|
| - }
|
| - });
|
| - }
|
| -}
|
|
|