remove usage of pprint in cljs
This commit is contained in:
parent
1590b2c2d4
commit
79a3610a64
2 changed files with 3 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
* ClojureScript 1.10 introduced a change causing the `walker` navigator to fail to walk records. `ALL` has been updated to operate over `MapEntry` in ClojureScript, fixing the issue.
|
* ClojureScript 1.10 introduced a change causing the `walker` navigator to fail to walk records. `ALL` has been updated to operate over `MapEntry` in ClojureScript, fixing the issue.
|
||||||
* Change ns form to comply with cljs.core.specs.alpha (thanks @gnl)
|
* Change ns form to comply with cljs.core.specs.alpha (thanks @gnl)
|
||||||
|
* Remove usage of pprint in cljs so advanced optimization doesn't include it
|
||||||
|
|
||||||
## 1.1.0 - 2018-01-02
|
## 1.1.0 - 2018-01-02
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
#?(:clj [com.rpl.specter.util-macros :only [doseqres mk-comp-navs]]))
|
#?(:clj [com.rpl.specter.util-macros :only [doseqres mk-comp-navs]]))
|
||||||
|
|
||||||
(:require [com.rpl.specter.protocols :as p]
|
(:require [com.rpl.specter.protocols :as p]
|
||||||
#?(:clj [clojure.pprint :as pp] :cljs [cljs.pprint :as pp])
|
#?(:clj [clojure.pprint :as pp])
|
||||||
[clojure.string :as s]
|
[clojure.string :as s]
|
||||||
[clojure.walk :as walk]
|
[clojure.walk :as walk]
|
||||||
#?(:clj [riddley.walk :as riddley]))
|
#?(:clj [riddley.walk :as riddley]))
|
||||||
|
|
@ -907,7 +907,7 @@
|
||||||
(println "Possible params:")
|
(println "Possible params:")
|
||||||
(println possible-params)
|
(println possible-params)
|
||||||
(println "\nProduced dynamic object:")
|
(println "\nProduced dynamic object:")
|
||||||
(pp/pprint (mk-fn-name-strs resolved-code))
|
(println (mk-fn-name-strs resolved-code))
|
||||||
(println))
|
(println))
|
||||||
(fn [dynamic-params]
|
(fn [dynamic-params]
|
||||||
(late-resolve resolved-code dynamic-params))))
|
(late-resolve resolved-code dynamic-params))))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue