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
Andrey Antukh 62c5c8d5c8 WIP:
2015-12-30 00:19:47 +02:00

19 lines
453 B
Clojure

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