An oversight, fixed in master. Let me know if it works for you. If it does
I can cut another release.


On Tue, Jan 14, 2014 at 4:55 AM, Alexander Solovyov
<[email protected]>wrote:

> I have a similar problem, I have extended string to be able to use it as a
> cursor:
>
> (extend-type string
>   ICloneable
>   (-clone [x] (js/String. x)))
>
> but I can't `update!` it, since it does not implement ITransact. I would
> love to be able to implement it, but it requires current state and a path,
> which appear as a parameters to `to-cursor*`, but are not exposed in any
> other way.
>
> So I'm unsure about what should I do. I don't want to give more than a
> string to my component: I could wrap a string in a map when passing it, of
> course, but will it be able to update? I don't think Om will be able to
> resolve such indirection.
>
> ​Any thoughts?
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to