Sure does in the application I am developing... I reproduced a bug in JSFiddle here: http://www.jsfiddle.net/VVe8x/19/ You can see it working (bug is to do with moo unrelated issue AFAIK ATM)
I guess I could undefine the .clone from Moo.. (as a work around) but preferably I would like to use $clone() than .clone since its less obtrusive.. 2010/2/1 Fábio M. Costa <[email protected]> > hmm bad to know. > But i can see that OpenLayers uses prototype and Rico, do it work with > mootools 1.2? > > > -- > Fábio Miranda Costa > Solucione Sistemas > Engenheiro de interfaces > > > On Mon, Feb 1, 2010 at 10:30 AM, Roman Land <[email protected]> wrote: > >> eeeeek, bad new for me :( >> >> OpenLayers have .clone for some of their objects... >> >> OpenLayers != Moo?? >> >> 2010/2/1 Fábio M. Costa <[email protected]> >> >> $unlink is the right choice. >>> But on 1.3 (it will be backwards compatible) this method will be >>> deprecated in favor of Object.clone, Array.clone etc, if im not wrong. >>> >>> -- >>> Fábio Miranda Costa >>> Solucione Sistemas >>> Engenheiro de interfaces >>> >>> >>> >>> On Mon, Feb 1, 2010 at 8:27 AM, woomla <[email protected]> wrote: >>> >>>> What is the best way to create a true copy from an object/array? >>>> By 'true copy' I mean a new object/array with the same key/index value >>>> pairs. >>>> >>>> So far I see three possibilities $extend, $merge, $unlink. >>>> >>>> W. >>>> >>> >>> >> >> >> -- >> --- >> "Make everything as simple as possible, but not simpler." >> >> - Albert Einstein >> >> > -- --- "Make everything as simple as possible, but not simpler." - Albert Einstein
