This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-18
Channels
- # alda (6)
- # architecture (1)
- # bangalore-clj (3)
- # beginners (39)
- # boot (292)
- # braveandtrue (1)
- # cider (7)
- # clara (2)
- # cljs-dev (20)
- # cljsjs (9)
- # cljsrn (42)
- # clojure (127)
- # clojure-chennai (1)
- # clojure-dev (96)
- # clojure-india (1)
- # clojure-russia (175)
- # clojure-spec (56)
- # clojure-uk (11)
- # clojureindia (1)
- # clojurescript (82)
- # core-async (7)
- # cursive (21)
- # data-science (1)
- # datomic (173)
- # funcool (4)
- # hoplon (8)
- # instaparse (1)
- # jobs (7)
- # jobs-discuss (1)
- # jobs-rus (30)
- # lambdaisland (1)
- # lein-figwheel (8)
- # off-topic (5)
- # om (51)
- # onyx (79)
- # other-languages (7)
- # planck (8)
- # re-frame (95)
- # reagent (6)
- # rum (8)
- # specter (4)
- # untangled (54)
- # yada (5)
So console.log(chroma.scale(['white', 'black']).colors(2));
produces ["#00000", "#ffffff"]
in JS as expected
In a bREPL: ((.-colors ((.-scale js/chroma) ["white" "black"])) 2)
produces
#object[TypeError TypeError: a is undefined]
No stacktrace available.
Can be reproduced with https://github.com/talexand/hallo-color
A JS sketch I've been using to verify my ported functions as I go, with the expected JS output logged: https://tonicdev.com/57b52d0f7b3754140064e49c/57b535eead6238140016554b
Is there something more I can do to figure this bug out? Thanks. This packaging setup has been pretty exciting.