fuck you
This commit is contained in:
17
visualisers/gmvis/src/main.cljs
Normal file
17
visualisers/gmvis/src/main.cljs
Normal file
@@ -0,0 +1,17 @@
|
||||
(ns main)
|
||||
|
||||
;; this is called before any code is reloaded
|
||||
(defn ^:dev/before-load stop []
|
||||
(js/console.log "stop"))
|
||||
|
||||
;; start is called by init and after code reloading finishes
|
||||
(defn ^:dev/after-load start []
|
||||
(js/console.log "start"))
|
||||
|
||||
;; init is called ONCE when the page loads
|
||||
;; this is called in the index.html and must be exported
|
||||
;; so it is available even in :advanced release builds
|
||||
(defn init []
|
||||
(js/console.log "init")
|
||||
(start))
|
||||
|
||||
Reference in New Issue
Block a user