Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
disable type checking if not provided
  • Loading branch information
swannodette committed Jan 26, 2017
1 parent d4e0d9c commit 367e2fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/clojure/cljs/closure.clj
Expand Up @@ -1908,7 +1908,10 @@
(= optimizations :advanced)
(cond->
(not (false? (:static-fns opts))) (assoc :static-fns true)
(not (false? (:optimize-constants opts))) (assoc :optimize-constants true)))))
(not (false? (:optimize-constants opts))) (assoc :optimize-constants true))

(nil? (find (:closure-warnings opts) :check-types))
(assoc-in [:closure-warnings :check-types] :off))))

(defn process-js-modules
"Given the current compiler options, converts JavaScript modules to Google
Expand Down

0 comments on commit 367e2fb

Please sign in to comment.