From 6ea2974a92d80c236f7966a7aae41ed327046e60 Mon Sep 17 00:00:00 2001 From: dnolen Date: Sat, 25 Apr 2020 10:38:41 -0400 Subject: [PATCH] fix (require ... :reload) --- src/main/cljs/clojure/browser/repl.cljs | 2 +- src/main/clojure/cljs/repl/bootstrap.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/cljs/clojure/browser/repl.cljs b/src/main/cljs/clojure/browser/repl.cljs index 4f72283a5c..a0eca7600c 100644 --- a/src/main/cljs/clojure/browser/repl.cljs +++ b/src/main/cljs/clojure/browser/repl.cljs @@ -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))) diff --git a/src/main/clojure/cljs/repl/bootstrap.clj b/src/main/clojure/cljs/repl/bootstrap.clj index f54b1d2a92..5728a28086 100644 --- a/src/main/clojure/cljs/repl/bootstrap.clj +++ b/src/main/clojure/cljs/repl/bootstrap.clj @@ -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)))