I'd like to change the title of the page in the browser using Clojurescript. I'm using Google Closure for dom manipulation, I'm open to functions inside Closure to do this.
In pure javascript, you can just do this:
window.document.title = "pants";
But I can't figure out how that translates into Clojurescript.
Try this:
(set! (. js/document -title) "new title")