This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-06
Channels
- # admin-announcements (2)
- # beginners (7)
- # boot (99)
- # cider (2)
- # cljs-dev (50)
- # clojure (58)
- # clojure-austin (3)
- # clojure-australia (9)
- # clojure-berlin (8)
- # clojure-china (1)
- # clojure-dev (15)
- # clojurescript (183)
- # clojutre (2)
- # clr (1)
- # cursive (106)
- # datomic (25)
- # editors (5)
- # incanter (21)
- # ldnclj (47)
- # off-topic (11)
- # om (8)
- # overtone (5)
- # re-frame (28)
- # reagent (12)
- # testing (7)
@einherjar: I'm pretty sure you will be safe with all 3 forms. Certainly the last two. The first will work and I believe based on what I've learned from @dnolen that the first form is likely to be supported by cljs indefinitely.
@einherjar: aget
for this use case is discouraged over goog.object/get
Thanks @meow 1 and 3 are easier for me to read, so I’ll use one of them. This does return an array, its the HTML5 file input event. @dnolen: I have a sticky note on my desk about
goog.object/get
vsaget
so that I don’t accidentally use aget
on objects. I’ve been trying to keep track of advice/warnings you give in the ClojureScript channel even though most of it is over my head right now.There're only 9 people in "incanter" room so I'll try my luck here... incanter/jcharts problem. I'm trying to change color of histogram's data series but it doesn't do anything.
(let [plot (histogram (sample-normal 20))
render (-> plot .getPlot .getRenderer)]
(add-histogram plot (sample-normal 20))
; changes colors of the outline
(.setSeriesOutlinePaint render 1 java.awt.Color/BLUE)
; nothing, fill paint remains unchanged. ???????
(.setSeriesFillPaint render 1 java.awt.Color/BLUE)
(view plot))