Hi - Anybody here familiar with the CLJS QuickStart on github?   I think
I've found an omission.  At the part about adding foo:

(defn foo [a b]
  (+ a b))


it is missing the ":reload" in the (require ...).  The missing ":reload"
results in this at the repl:

cljs.user=> (require '[hello-world.core :as hello] )
nil
cljs.user=> (hello/foo 2 3)
TypeError: Cannot read property 'call' of undefined
(NO_SOURCE_FILE)


The ":reload" is present in the 2nd part for


(defn foo [a b]
  (* a b)) ;; CHANGED


I think we need a small update to the README.  Should I submit a PR?
Alan

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to