Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

require cljs.vendor.bridge instead of using load #179

Merged
merged 1 commit into from
May 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ Official web site: http://clojurescript.org

## Releases and dependency information ##

Latest stable release: 1.11.51
Latest stable release: 1.11.52

* [All released versions](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22clojurescript%22)

[Leiningen](http://github.com/technomancy/leiningen/) dependency information:

```
[org.clojure/clojurescript "1.11.51"]
[org.clojure/clojurescript "1.11.52"]
```

[Maven](http://maven.apache.org) dependency information:
Expand All @@ -22,7 +22,7 @@ Latest stable release: 1.11.51
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojurescript</artifactId>
<version>1.11.51</version>
<version>1.11.52</version>
</dependency>
```

Expand Down
6 changes: 6 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.11.52

### Changes
* use `require` instead of `load` for `cljs.vendor.bridge`, addresses issue
reported by Bruce Hauman wrt. Figwheel

## 1.11.51

### Changes
Expand Down
2 changes: 1 addition & 1 deletion src/main/clojure/cljs/repl.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@
;; bridge clojure.tools.reader to satisfy the old contract
(when (and (find-ns 'clojure.tools.reader)
(not (find-ns 'cljs.vendor.bridge)))
(clojure.core/load "vendor/bridge"))
(require 'cljs.vendor.bridge))
(doseq [[unknown-opt suggested-opt] (util/unknown-opts (set (keys opts)) (set/union known-repl-opts cljsc/known-opts))]
(when suggested-opt
(println (str "WARNING: Unknown option '" unknown-opt "'. Did you mean '" suggested-opt "'?"))))
Expand Down