Skip to content

Commit

Permalink
CLJS-473: cljs.closure/add-dep-string calls wrong munge
Browse files Browse the repository at this point in the history
  • Loading branch information
wagjo authored and swannodette committed Feb 19, 2013
1 parent d43631a commit 896a142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/cljs/closure.clj
Expand Up @@ -756,7 +756,7 @@
(defn add-dep-string
"Return a goog.addDependency string for an input."
[opts input]
(letfn [(ns-list [coll] (when (seq coll) (apply str (interpose ", " (map #(str "'" (munge %) "'") coll)))))]
(letfn [(ns-list [coll] (when (seq coll) (apply str (interpose ", " (map #(str "'" (comp/munge %) "'") coll)))))]
(str "goog.addDependency(\""
(path-relative-to (io/file (output-directory opts) "goog/base.js") input)
"\", ["
Expand Down

0 comments on commit 896a142

Please sign in to comment.