0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

Add preconditions to the workspace initialization event.

This commit is contained in:
Andrey Antukh 2017-03-21 21:15:13 +01:00
parent 7958c33e34
commit 6e7a20974d
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -102,6 +102,8 @@
(defn initialize
"Initialize the workspace state."
[project page]
{:pre [(uuid? project)
(uuid? page)]}
(InitializeWorkspace. project page))
;; --- Workspace Tooltips