another bootstrap compatibility change (from @mfikes)
This commit is contained in:
parent
d162c2b49f
commit
cb3b33f63b
1 changed files with 2 additions and 3 deletions
|
|
@ -12,7 +12,6 @@
|
||||||
[clojure.string :as s]
|
[clojure.string :as s]
|
||||||
#+clj [com.rpl.specter.defhelpers :as dh]
|
#+clj [com.rpl.specter.defhelpers :as dh]
|
||||||
#+clj [riddley.walk :as riddley]
|
#+clj [riddley.walk :as riddley]
|
||||||
;; #+cljs [cljs.js :as cljs]
|
|
||||||
)
|
)
|
||||||
#+clj
|
#+clj
|
||||||
(:import [com.rpl.specter Util])
|
(:import [com.rpl.specter Util])
|
||||||
|
|
@ -50,8 +49,8 @@
|
||||||
#+cljs
|
#+cljs
|
||||||
(defn macroexpand'
|
(defn macroexpand'
|
||||||
[form]
|
[form]
|
||||||
(binding [cljs/*eval-fn* cljs/js-eval]
|
(binding [cljs.js/*eval-fn* cljs.js/js-eval]
|
||||||
(cljs/eval (cljs/empty-state)
|
(cljs.js/eval (cljs.js/empty-state)
|
||||||
`(macroexpand (quote ~form))
|
`(macroexpand (quote ~form))
|
||||||
identity)))
|
identity)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue