mirror of
https://github.com/penpot/penpot.git
synced 2026-08-04 11:58:48 +00:00
📎 Fix linter issues
This commit is contained in:
parent
2f535c3f3f
commit
79da4d274d
@ -88,6 +88,9 @@
|
|||||||
:dynamic-var-not-earmuffed
|
:dynamic-var-not-earmuffed
|
||||||
{:level :off}
|
{:level :off}
|
||||||
|
|
||||||
|
:type-mismatch
|
||||||
|
{:level :off}
|
||||||
|
|
||||||
:used-underscored-binding
|
:used-underscored-binding
|
||||||
{:level :warning}
|
{:level :warning}
|
||||||
|
|
||||||
|
|||||||
@ -7,22 +7,22 @@
|
|||||||
;; This namespace is only to export the functions for toggle features
|
;; This namespace is only to export the functions for toggle features
|
||||||
(ns features
|
(ns features
|
||||||
(:require
|
(:require
|
||||||
[app.main.features :as features]
|
[app.main.features :as feat]
|
||||||
[app.main.store :as st]
|
[app.main.store :as st]
|
||||||
[app.plugins :as plugins]
|
[app.plugins :as plugins]
|
||||||
[app.util.timers :as tm]))
|
[app.util.timers :as tm]))
|
||||||
|
|
||||||
(defn ^:export grid []
|
(defn ^:export grid []
|
||||||
(tm/schedule-on-idle #(st/emit! (features/toggle-feature "layout/grid")))
|
(tm/schedule-on-idle #(st/emit! (feat/toggle-feature "layout/grid")))
|
||||||
nil)
|
nil)
|
||||||
|
|
||||||
(defn ^:export get-enabled []
|
(defn ^:export get-enabled []
|
||||||
(clj->js features/global-enabled-features))
|
(clj->js feat/global-enabled-features))
|
||||||
|
|
||||||
(defn ^:export get-team-enabled []
|
(defn ^:export get-team-enabled []
|
||||||
(clj->js (get @st/state :features)))
|
(clj->js (get @st/state :features)))
|
||||||
|
|
||||||
(defn ^:export plugins []
|
(defn ^:export plugins []
|
||||||
(st/emit! (features/enable-feature "plugins/runtime"))
|
(st/emit! (feat/enable-feature "plugins/runtime"))
|
||||||
(plugins/init-plugins-runtime)
|
(plugins/init-plugins-runtime)
|
||||||
nil)
|
nil)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user