remove usage of pprint in cljs

This commit is contained in:
nathanmarz 2018-04-21 10:19:05 -04:00
parent 1590b2c2d4
commit 79a3610a64
2 changed files with 3 additions and 2 deletions

View file

@ -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.
* 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

View file

@ -11,7 +11,7 @@
#?(:clj [com.rpl.specter.util-macros :only [doseqres mk-comp-navs]]))
(: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.walk :as walk]
#?(:clj [riddley.walk :as riddley]))
@ -907,7 +907,7 @@
(println "Possible params:")
(println possible-params)
(println "\nProduced dynamic object:")
(pp/pprint (mk-fn-name-strs resolved-code))
(println (mk-fn-name-strs resolved-code))
(println))
(fn [dynamic-params]
(late-resolve resolved-code dynamic-params))))