mirror of
https://github.com/penpot/penpot.git
synced 2026-04-30 21:59:10 +00:00
26 lines
579 B
Clojure
26 lines
579 B
Clojure
;; This Source Code Form is subject to the terms of the Mozilla Public
|
|
;; 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>
|
|
|
|
(ns uxbox.view
|
|
(:require [uxbox.config]
|
|
[uxbox.main.state :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)
|
|
(ui/init-routes)
|
|
(ui/init))
|