mirror of
https://github.com/penpot/penpot.git
synced 2025-05-08 17:35:52 +02:00
✨ Allow debug in for release build
This commit is contained in:
parent
3d064b804b
commit
1c54e9fa4d
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue