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 > >
