This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-14
Channels
- # adventofcode (20)
- # arachne (11)
- # beginners (53)
- # boot (342)
- # cider (54)
- # cljs-dev (39)
- # cljsrn (4)
- # clojure (78)
- # clojure-brasil (2)
- # clojure-italy (5)
- # clojure-nl (4)
- # clojure-quebec (1)
- # clojure-russia (90)
- # clojure-sanfrancisco (4)
- # clojure-spec (55)
- # clojure-uk (27)
- # clojurescript (170)
- # core-async (1)
- # core-logic (1)
- # css (1)
- # cursive (8)
- # datomic (83)
- # dirac (5)
- # hoplon (24)
- # lambdaisland (1)
- # lein-figwheel (23)
- # midje (2)
- # off-topic (1)
- # om (4)
- # om-next (7)
- # onyx (74)
- # proton (1)
- # protorepl (22)
- # rdf (2)
- # re-frame (105)
- # reagent (15)
- # ring-swagger (3)
- # rum (4)
- # slack-help (17)
- # spacemacs (14)
- # untangled (62)
- # vim (4)
- # yada (18)
@jumblerg Thanks! got it working with help from a snippet you gave me a while back
(defc model {:view :home})
(defc= view (-> model :view))
(defc= route (-> view vector vector))
(defn change-view [model view]
(assoc model :view view))
(defelem menu-button [{v :view :as attr} elems]
(elem :click #(swap! model change-view v) elems)
(window :route route
(menu-button :view :foo)
(case-tpl view
:home (home-view)
:foo (foo-view))
Advanced compilation seems to be nuking my ability to call .getBBox on an SVGTextElement. What sorcery is involved in making that work?
I was just wondering about this
https://github.com/google/closure-compiler/wiki/Structural-Interfaces-in-Closure-Compiler
otherwise you don't use externs, you just compile the js along with the rest of your GCL compatible js
@jumblerg Do you have a basic example of how the (pick)
form elem is set up?
I've started playing with http://trigger.io, but when I copy index.html + index.html.js over, and compile for the ios simulator, it looks like I'm losing functionality relating to javalin. Any idea if this should work or if I'm missing something obvious?