Skip to content

Commit

Permalink
don't break closure libs that follow classpath conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed May 9, 2015
1 parent 07bb585 commit 4f8d24c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/clojure/cljs/js_deps.clj
Expand Up @@ -212,9 +212,9 @@ JavaScript library containing provide/require 'declarations'."
(with-open [reader (io/reader url)]
(-> reader line-seq parse-js-ns
(merge
{:url url :closure-lib true}
{:url url}
(when lib-path
{:lib-path lib-path}))))))
{:closure-lib true :lib-path lib-path}))))))

(defn load-library*
"Given a path to a JavaScript library, which is a directory
Expand Down

0 comments on commit 4f8d24c

Please sign in to comment.