I don't understand why, but changing to a 'require' instead of a 'use'
fixed my problem:
(ns hello
(:require
[goog.Timer :as Timer]
[goog.dom :as dom]
[goog.events :as events]
[goog.events.EventType :as EventType]
[goog.events.KeyCodes :as KeyCodes]
Hi,
I'm using goog.Timer inside my ClojureScript application. When I
compile using the non-optimizing cljsc the code compiles and the
application works fine. If I try to compile using the optimizing
compiler however I get the following error:
cljsc hello.cljs '{:optimizations :advanced}' > hello