Skip to content

Commit

Permalink
fix (require ... :reload)
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Apr 25, 2020
1 parent 799d62f commit 6ea2974
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/cljs/clojure/browser/repl.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
(let [reload? (or reload (.-cljsReloadAll__ js/goog))]
(when reload?
(if (some? goog/debugLoader_)
(let [path (.getPathFromDeps_ goog/debugLoader_ name)]
(let [path (.getPathFromDeps_ goog/debugLoader_ src)]
(gobj/remove (.-written_ goog/debugLoader_) path)
(gobj/remove (.-written_ goog/debugLoader_)
(str js/goog.basePath path)))
Expand Down
2 changes: 1 addition & 1 deletion src/main/clojure/cljs/repl/bootstrap.clj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
(when reload?
;; check for new-ish private goog/debugLoader
(if (some? goog/debugLoader_)
(let [path (.getPathFromDeps_ goog/debugLoader_ name)]
(let [path (.getPathFromDeps_ goog/debugLoader_ src)]
(goog.object/remove (.-written_ goog/debugLoader_) path)
(goog.object/remove (.-written_ goog/debugLoader_)
(str js/goog.basePath path)))
Expand Down

0 comments on commit 6ea2974

Please sign in to comment.