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)))