clj-commons / secretary

A client-side router for ClojureScript.
773 stars 64 forks source link

Fix #98: updated the goog.History example. #105

Closed avfonarev closed 5 years ago

borkdude commented 5 years ago

@avfonarev Can you fix the import statement? If you run this with https://github.com/clojure/core.specs.alpha you will get an error.

The last segment should not be separated by a dot:

(:import [goog History]
         [goog.history EventType])
avfonarev commented 5 years ago

My bad, fixed.

avfonarev commented 5 years ago

@borkdude I can actually squash the commits if it is necessary.