Created
September 18, 2014 06:22
-
-
Save mattdeboard/643e9020d6db3626197e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns kanfold.core | |
(:require [om.core :as om :include-macros true] | |
[om.dom :as dom :include-macros true] | |
[weasel.repl :as ws-repl] | |
[kanfold.components.ticket :as ticket])) | |
(ws-repl/connect "ws://localhost:9001" :verbose true) | |
(enable-console-print!) | |
(def app-state (atom {:text "Hello world!"})) | |
(om/root | |
(fn [app owner] | |
(dom/div nil app)) | |
ticket/app | |
{:target (. js/document (getElementById "app"))}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment