This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
I am very happy to announce Replumb
0.1.4. Adds dir, apropos, find-doc together with around 300 assertions against ClojureScript core. We found a bug, which is good, as one of the objectives of this library was also to help in that, I will report it soon on JIRA, but first things first: https://github.com/ScalaConsultants/replumb/releases/tag/0.1.4
Hi all. Im running into a wierd problem when trying to decode JSON. In a figwheel repl I can do
but when I try to compile and run in a browser I get
No such namespace: JSON, could not locate JSON.cljs
ahh… turns out its a compiler warning rather than an error. Can you do
Hi everyone! Noob question: if I'm using Stuart Sierra's component lib and I want to change the def'd var #'system to refer to something else, how can I do it in ClojureScript? ... in Clojure we'd use alter-var-root ... but ClojureScript thinks alter-var-root is an undeclared var...
If you happen to get an Apple TV this holiday season, ClojureScript / Ambly support is available for tinkering: https://github.com/omcljs/ambly/wiki/tvOS-Support
(def my-canvas (.getElementById js/document "canvas")) (def ct (.getContext my-canvas "2d")) (defn fill-rect [ct] ;(.fillStyle ct "Red") (.fillRect ct (30 30 50 60)))
I’m trying to get this code to work …. but I get
Uncaught TypeError: 30.call is not a function