Hi

This question is related to ClojurescriptOne

I'm trying to add a new snippet ( called "welcome")  in front of the form.

So far I have done the following:

   - Added welcome.html to templates folder
   - Added the snippet to snippets.cljs
   - Added a :welcome action and added :welcome to the method 
   dispatch/react-to in controller.cljs 
   - Added a render method to view.cljs (The render method uses 
   (fx/show-welcome)
   - Added show-welcome to animations.cljs
   - Added :welcome to history.cljs

In core.cljs I exchanged the value in dispatch/fire :init with :welcome

Now I get the following error-message in the console.

Error: No protocol method ILookup.-lookup defined for type undefined: 
undefined

http://localhost:8080/javascripts/out/cljs/core.js

Line 48

return Error.call(null,"No protocol method "+proto+" defined for type 
"+goog.typeOf.call(null,obj)+": "+obj);

Can anyone help?

Best regards,

Søren Madsen

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to