top-level symbol reference doesn't get an automatically inserted ns-name

Description

I'm trying to use a Node.js module (with nested namespaces) in ClojureScript - the code goes like this:

which gets compiled (with :simple optimization) to:

which will obviously fail with error "Uncaught ReferenceError: evernote is not defined".

Environment

org.clojure/clojurescript "0.0-2030"

Activity

Show:
David Nolen
November 24, 2013, 5:55 AM

Assignee

Unassigned

Reporter

import

Labels

Approval

None

Patch

None

Priority

Major
Configure