From f661962cf3f8fe7058acba9c09ef95ac4a72b9c2 Mon Sep 17 00:00:00 2001 From: David Nolen Date: Sun, 15 Mar 2015 13:44:19 -0400 Subject: [PATCH] remove busted REPL assertions --- src/clj/cljs/repl/browser.clj | 1 - src/clj/cljs/repl/nashorn.clj | 1 - src/clj/cljs/repl/node.clj | 1 - 3 files changed, 3 deletions(-) diff --git a/src/clj/cljs/repl/browser.clj b/src/clj/cljs/repl/browser.clj index 28607812a9..b22a21c9b5 100644 --- a/src/clj/cljs/repl/browser.clj +++ b/src/clj/cljs/repl/browser.clj @@ -553,7 +553,6 @@ goog.events.getProxy/f<@http://localhost:9000/out/goog/events/events.js:276:16" support reflection. Defaults to \"src/\". " [& {:as opts}] - (assert (even? (count opts)) "Arguments must be interleaved key value pairs") (repl-env* opts)) (comment diff --git a/src/clj/cljs/repl/nashorn.clj b/src/clj/cljs/repl/nashorn.clj index e3478833e7..977ed29256 100644 --- a/src/clj/cljs/repl/nashorn.clj +++ b/src/clj/cljs/repl/nashorn.clj @@ -225,5 +225,4 @@ (defn repl-env "Create a Nashorn repl-env for use with the repl/repl* method in Clojurescript." [& {:as opts}] - (assert (even? (count opts)) "Arguments must be interleaved key value pairs") (repl-env* opts)) diff --git a/src/clj/cljs/repl/node.clj b/src/clj/cljs/repl/node.clj index 7c4f5f9c58..1d81811fe2 100644 --- a/src/clj/cljs/repl/node.clj +++ b/src/clj/cljs/repl/node.clj @@ -198,6 +198,5 @@ (defn repl-env "Construct a Node.js evalution environment. Can supply :host and :port." [& {:as options}] - (assert (even? (count options)) "Arguments must be interleaved key value pairs") (repl-env* options))