| Index: samples/swarm/UIState.dart
|
| diff --git a/samples/swarm/UIState.dart b/samples/swarm/UIState.dart
|
| index b5a7c0acb63fee48aa693213e6961e02116d1f41..a9c9cdffdb9a65bdfa8c6e432397fcfbfc43f918 100644
|
| --- a/samples/swarm/UIState.dart
|
| +++ b/samples/swarm/UIState.dart
|
| @@ -5,7 +5,7 @@
|
| /**
|
| * The base class for UI state that intends to support browser history.
|
| */
|
| -class UIState {
|
| +abstract class UIState {
|
| /**
|
| * The event listener we hook to the window's "popstate" event.
|
| * This event is triggered by the back button or by the first page load.
|
| @@ -64,10 +64,10 @@ class UIState {
|
| /**
|
| * Serialize the state to a form suitable for storing in browser history.
|
| */
|
| - abstract Map<String, String> toHistory();
|
| + Map<String, String> toHistory();
|
|
|
| /**
|
| * Load the UI state from the given [values].
|
| */
|
| - abstract void loadFromHistory(Map<String, String> values);
|
| + void loadFromHistory(Map<String, String> values);
|
| }
|
|
|