ptaoussanis/encore — pull request #4 by sritchie (2014-11-07 19:29:10+00:00)
Title: Allows sente to be used in isomorphic CLJS apps

Evaluating this call to js/window in a top level def was causing errors on my nashorn jdk 1.8 setup. Checking for window's existence first fixes it.