mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15:21 +00:00
- Added to CI now that it passes - Added no-doc for docstrings that don't add any more than what's in the ns name or for ones where I didn't know the ns that well
11 lines
235 B
Clojure
11 lines
235 B
Clojure
(ns frontend.debug
|
|
"Fns that are useful for debugging"
|
|
(:require [cljs.pprint :as pprint]
|
|
[frontend.state :as state]))
|
|
|
|
(defn pprint
|
|
[& xs]
|
|
(when (state/developer-mode?)
|
|
(doseq [x xs]
|
|
(pprint/pprint x))))
|