clojurescript-unraveled icon indicating copy to clipboard operation
clojurescript-unraveled copied to clipboard

An open source book about ClojureScript

Results 30 clojurescript-unraveled issues
Sort by recently updated
recently updated
newest added

In this part ```bash mkdir -p leapyears/src/leapyears mkdir -p leapyears/target/public touch leapyears/target/public/index.html touch leapyears/src/leapyears/core.cljs touch leapyears/tools.cljs touch leapyears/deps.edn ``` there is a command ``` touch leapyears/tools.cljs ``` but should be...

(seqable? nil) ;; => false but in both clojure and clojurescript, I got: (seqable? nil) ;; => true

The following code: ```clojure (ns leapyears.test.main (:require [cljs.test :as t] [leapyears.vendor.util-closure :as util])) ``` should be: ```clojure (ns leapyears.test.main (:require [cljs.test :as t] [leapyears.util :as util])) ```

The following Clojure code: ```clojure (assoc build-opts :main 'leapyears.test.main :output-to "out/tests.js" :output-dir "out/tests" :target :nodejs) ``` needs to be: ```clojure (assoc build-opts :main 'leapyears.test.main :output-to "out/tests.js" :output-dir "out/tests" :asset-path "out/tests"...

The text "clojure tools build:tests" should be "clojure tools.clj build:tests"

I needed to ad the following line of text to the tools.clj file, in addition to the ones noted in the document: ```clojure (require '[figwheel.main :as figwheel]) ```

The text "This is how looks the deps.edn file with the changes applied:" should be "This is how looks the tools.clj file with the changes applied:"

In order to create what I believe to be the intended behavior I needed to make the definition of the "on-change" function the following: ```clojure (defn on-change [event] (let [target...