mirror of
https://github.com/penpot/penpot.git
synced 2026-08-30 00:29:17 +00:00
✨ Allow debug in for release build
This commit is contained in:
parent
3d064b804b
commit
1c54e9fa4d
@ -131,9 +131,7 @@
|
|||||||
|
|
||||||
(defn ^:export ^boolean debug?
|
(defn ^:export ^boolean debug?
|
||||||
[option]
|
[option]
|
||||||
(if *assert*
|
(boolean (@*debug* option)))
|
||||||
(boolean (@*debug* option))
|
|
||||||
false))
|
|
||||||
|
|
||||||
(defn ^:export toggle-debug [name] (let [option (keyword name)]
|
(defn ^:export toggle-debug [name] (let [option (keyword name)]
|
||||||
(if (debug? option)
|
(if (debug? option)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user