Skip to content

Commit b5e22d2

Browse files
committed
CLJS-3172: Unable to import goog.async.ConditionalDelay
1 parent 8e8c776 commit b5e22d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/clojure/cljs/js_deps.cljc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ case."
114114
(letfn [(conj-in [m k v] (update-in m [k] (fn [old] (conj old v))))]
115115
(->> (for [line lines x (string/split line #";")] x)
116116
(map string/trim)
117+
(drop-while #(not (or (string/includes? % "goog.provide(")
118+
(string/includes? % "goog.require("))))
117119
(take-while #(not (re-matches #".*=[\s]*function\(.*\)[\s]*[{].*" %)))
118120
(map #(re-matches #".*goog\.(provide|require)\(['\"](.*)['\"]\)" %))
119121
(remove nil?)

0 commit comments

Comments
 (0)