Index: samples-dev/swarm/UIState.dart |
diff --git a/samples-dev/swarm/UIState.dart b/samples-dev/swarm/UIState.dart |
index 2d408431b493abc03bc108c478a1215260cffc77..461c844003c6a2a80d53c2512d73241f76537314 100644 |
--- a/samples-dev/swarm/UIState.dart |
+++ b/samples-dev/swarm/UIState.dart |
@@ -60,8 +60,8 @@ abstract class UIState { |
// TODO(jmesserly): [state] should be an Object, and we should pass it to |
// the state parameter instead of as a #hash URL. Right now we're working |
// around b/4582542. |
- window.history.pushState(null, |
- '${document.title}', '${document.title}#$state'); |
+ window.history |
+ .pushState(null, '${document.title}', '${document.title}#$state'); |
} |
/** |