mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 15:39:50 -05:00
16 lines
360 B
Clojure
16 lines
360 B
Clojure
(ns uxbox.core
|
|
(:require [beicon.core :as rx]
|
|
[uxbox.router]
|
|
[uxbox.state :as s]
|
|
[uxbox.rstore :as rs]
|
|
[uxbox.ui :as ui]
|
|
[uxbox.data.load :as dl]))
|
|
|
|
(enable-console-print!)
|
|
|
|
(defonce +setup+
|
|
(do
|
|
(ui/init)
|
|
(rs/emit! (dl/load-data))
|
|
(rx/on-value s/stream #(dl/persist-state %))
|
|
1))
|