mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 09:21:38 +02:00
Minor structure refactor.
Make forms and messages modules independent of store location (making them plugables).
This commit is contained in:
parent
8c28a8c0a7
commit
08b0a096eb
87 changed files with 573 additions and 505 deletions
|
@ -2,24 +2,15 @@
|
|||
;; License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
;;
|
||||
;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz>
|
||||
;; Copyright (c) 2016-2017 Andrey Antukh <niwi@niwi.nz>
|
||||
|
||||
(ns uxbox.view
|
||||
(:require [uxbox.config]
|
||||
[uxbox.store :as st]
|
||||
[uxbox.view.store :as st]
|
||||
[uxbox.view.ui :as ui]))
|
||||
|
||||
(defn- initial-state
|
||||
[]
|
||||
{:route nil
|
||||
:project nil
|
||||
:pages nil
|
||||
:page nil
|
||||
:flags #{:sitemap}
|
||||
:shapes {}})
|
||||
|
||||
(defn ^:export init
|
||||
[]
|
||||
(st/init initial-state)
|
||||
(st/init)
|
||||
(ui/init-routes)
|
||||
(ui/init))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue