 (.mount js/m
   (.getElementById js/document "app")
   (clj->js app))
-

  (println "Calling major Tom"))
(defn ^:export viewer [c]
  (println "Seeing things")
  (js/m "div" (.-var (clj->js db))))

(def app {:controller ctrl :view viewer})



(ns modern-cljs.core
  (:require [foo.bar] [m]))

(defn m [tag attrs values]
  (js/m tag (clj->js attrs) (clj->js values)))

(def db
  {:var (str "tosi:" (rand-int 10))})
