> If I later find out that something is a Cow, how can I change it to
> be so? I know the once frowned upon method of setting __proto__
> works in non-IE, but is there another way, or through MooTools? I
> only need IE9+ support. 

MooTools can't do anything as deep as creating __proto__ where it
isn't supported, so in IE 9-10 you can't do in-place prototype
replacement, AFAIK. You can pass the current object into another
class's ctor pretty easily, though:

      http://jsfiddle.net/V88xD/3/

-- Sandy

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mootools-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to