Remove pprint
Reduces build size from 350.42 KB to 231.41 KB (85.61 KB to 58.58 KB gzip'ed)
This commit is contained in:
parent
d4fa74173c
commit
cebe96d74d
1 changed files with 1 additions and 2 deletions
|
|
@ -2,7 +2,6 @@
|
||||||
(:require [reagent.core :as r]
|
(:require [reagent.core :as r]
|
||||||
[reagent.dom.client :as rd]
|
[reagent.dom.client :as rd]
|
||||||
[clojure.string :as str]
|
[clojure.string :as str]
|
||||||
[clojure.pprint :as pprint]
|
|
||||||
[computersandblues.lodestone.database :as db]
|
[computersandblues.lodestone.database :as db]
|
||||||
[computersandblues.lodestone.interop :refer [promise-all promise-resolve promise-reject]]
|
[computersandblues.lodestone.interop :refer [promise-all promise-resolve promise-reject]]
|
||||||
[computersandblues.lodestone.match :refer [query->matching-xform]]
|
[computersandblues.lodestone.match :refer [query->matching-xform]]
|
||||||
|
|
@ -334,7 +333,7 @@
|
||||||
(let [pprinted (r/atom nil)
|
(let [pprinted (r/atom nil)
|
||||||
pprint (fn [_]
|
pprint (fn [_]
|
||||||
(when-not @pprinted
|
(when-not @pprinted
|
||||||
(reset! pprinted (with-out-str (pprint/pprint obj)))))]
|
(reset! pprinted (pr-str obj))))]
|
||||||
(fn []
|
(fn []
|
||||||
[:details.debug {:on-toggle pprint
|
[:details.debug {:on-toggle pprint
|
||||||
:on-mouseover pprint}
|
:on-mouseover pprint}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue