0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 16:00:19 -05:00
penpot/frontend/uxbox/core.cljs
2015-12-30 00:19:47 +02:00

17 lines
399 B
Clojure

(ns uxbox.core
(:require [beicon.core :as rx]
[uxbox.state :as s]
[uxbox.router :as r]
[uxbox.rstore :as rs]
[uxbox.ui :as ui]
[uxbox.data.load :as dl]))
(enable-console-print!)
(defonce +setup+
(do
(println "bootstrap")
(r/init)
(ui/init)
(rs/emit! (dl/load-data))
(rx/on-value s/stream #(dl/persist-state %))))