File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -130,10 +130,10 @@ case."
130130 (-requires [this] " A list of namespaces that this JavaScript requires." )
131131 (-source [this] [this opts] " The JavaScript source string." ))
132132
133- (defn get-file [libspec index]
134- (or (:file libspec )
133+ (defn get-file [lib-spec index]
134+ (or (:file lib-spec )
135135 (some (fn [provide] (get-in index [provide :file ]))
136- (:provides libspec ))))
136+ (:provides lib-spec ))))
137137
138138(defn build-index
139139 " Index a list of dependencies by namespace and file name. There can
@@ -168,7 +168,7 @@ case."
168168 (update-in index' [file] merge dep)
169169 (throw
170170 (Exception.
171- (str " No :file provided for foreign libspec " (pr-str dep)))))
171+ (str " No :file provided for : foreign-libs spec " (pr-str dep)))))
172172 (assoc index' (:file dep) dep))))
173173 {} deps))
174174
You can’t perform that action at this time.
0 commit comments