mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
19 lines
403 B
Clojure
19 lines
403 B
Clojure
(ns uxbox.core
|
|
(:require [beicon.core :as rx]
|
|
[uxbox.state :as s]
|
|
[uxbox.router :as rt]
|
|
[uxbox.rstore :as rs]
|
|
[uxbox.ui :as ui]
|
|
[uxbox.data.load :as dl]))
|
|
|
|
(enable-console-print!)
|
|
|
|
(defonce +setup+
|
|
(do
|
|
(println "bootstrap")
|
|
|
|
(rt/init)
|
|
(ui/init)
|
|
|
|
(rs/emit! (dl/load-data))
|
|
(rx/on-value s/stream #(dl/persist-state %))))
|