On Tuesday, July 29, 2014 10:00:47 AM UTC-4, David Della Costa wrote: > Hi Tal, I'm not positive this will fully answer your question, but here > > is a very simple example of how to extend MapCursor and call the > > extended type inside the render phase of a component. > > > > https://github.com/ddellacosta/om-cookbook/blob/master/extend-cursor/src/core.cljs > > > > Let me know if there's more to it than this, or post gist with your code > > to the list if you need more specific assistance. > > > > DD > > > > (2014/07/29 3:14), tal giat wrote: > > > How can I have an om cursor implement a protocol and then call that > > > protocol method from an om component ? the problem is that I'm > > > getting an error calling the protocol method because the type now is > > > not the given type but om.core/MapCursor. > > >
Thanks, I'll give it a try! -- 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 http://groups.google.com/group/clojurescript.