[Prototype-core] Safe Object.extend?

2009-01-07 Thread joe t.
How would the core feel about a safe version of Object.extend? Object.extend = function(destination, source, safe) { safe = !!safe || false; for (var property in source){ destination[property] = (safe typeof destination[property] !== 'undefined') ? destination[property] :

[Prototype-core] Re: Safe Object.extend?

2009-01-07 Thread Tobie Langel
http://gist.github.com/44308 I'd probably suggest another method, though, rather than adding a flag to Object.extend. Best, Tobie On Jan 7, 3:45 pm, joe t. thooke...@gmail.com wrote: How would the core feel about a safe version of Object.extend? Object.extend = function(destination,

[Prototype-core] Re: Prototype in French

2009-01-07 Thread CHARLIER Cyril
I don't think there is a branch for this because there is nothing to translate in the code lol I have created this Wiki if you want helping me : http://www.celine-cyril.eu/proto/doku.php If you want an account you can ask to me. By default you cannot create a page in anonymous but you can

[Prototype-core] Re: Prototype in French

2009-01-07 Thread CHARLIER Cyril
Ok thansk for the reply. So if we want to participate in this way to translate the doc How can we do ? Best, -- Cyril Charlier On Wed, Jan 7, 2009 at 21:29, Tobie Langel tobie.lan...@gmail.com wrote: FYI: We're planning on migrating the docs inline. Link up with Samuel Lebeau, he's been