Skip to content

Commit f661962

Browse files
committed
remove busted REPL assertions
1 parent feccc01 commit f661962

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/clj/cljs/repl/browser.clj

-1
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,6 @@ goog.events.getProxy/f<@http://localhost:9000/out/goog/events/events.js:276:16"
553553
support reflection. Defaults to \"src/\".
554554
"
555555
[& {:as opts}]
556-
(assert (even? (count opts)) "Arguments must be interleaved key value pairs")
557556
(repl-env* opts))
558557

559558
(comment

src/clj/cljs/repl/nashorn.clj

-1
Original file line numberDiff line numberDiff line change
@@ -225,5 +225,4 @@
225225
(defn repl-env
226226
"Create a Nashorn repl-env for use with the repl/repl* method in Clojurescript."
227227
[& {:as opts}]
228-
(assert (even? (count opts)) "Arguments must be interleaved key value pairs")
229228
(repl-env* opts))

src/clj/cljs/repl/node.clj

-1
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,5 @@
198198
(defn repl-env
199199
"Construct a Node.js evalution environment. Can supply :host and :port."
200200
[& {:as options}]
201-
(assert (even? (count options)) "Arguments must be interleaved key value pairs")
202201
(repl-env* options))
203202

0 commit comments

Comments
 (0)