You should not need a `:reload` for the first one. Only the second one. If
that's no longer true there has been a regression and you should open a
JIRA ticket.

On Mon, Mar 28, 2016 at 4:30 PM, Alan Thompson <clooj...@gmail.com> wrote:

> 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.
>

-- 
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