mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
✔️ Allow for tests of data module at frontend
This commit is contained in:
parent
87cf91a044
commit
bde62473a4
5 changed files with 110 additions and 4 deletions
|
@ -13,6 +13,7 @@
|
|||
[app.common.data :as d]
|
||||
[app.common.spec :as us]
|
||||
[app.common.version :as v]
|
||||
[app.util.globals :as globals]
|
||||
[app.util.object :as obj]
|
||||
[app.util.dom :as dom]
|
||||
[app.util.avatars :as avatars]
|
||||
|
@ -73,7 +74,7 @@
|
|||
(def login-with-ldap (obj/get global "appLoginWithLDAP" false))
|
||||
(def worker-uri (obj/get global "appWorkerURI" "/js/worker.js"))
|
||||
(def public-uri (or (obj/get global "appPublicURI")
|
||||
(.-origin ^js js/location)))
|
||||
(.-origin ^js globals/location)))
|
||||
(def media-uri (str public-uri "/assets"))
|
||||
(def version (delay (parse-version global)))
|
||||
(def target (delay (parse-target global)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue