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] : source[
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." wrote:
> How would the core feel about a safe version of Object.extend?
>
> Object.extend = function(destination, source, safe) {
> s
Elegant sample. i guess with a minuscule need it's not worth having a
permanent built-in toggle. But hey, if the need arises...
Thanks!
-joe t.
On Jan 7, 11:00 am, Tobie Langel wrote:
> http://gist.github.com/44308
>
> I'd probably suggest another method, though, rather than adding a flag
> to O
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 comment
FYI: We're planning on migrating the docs inline.
Link up with Samuel Lebeau, he's been doing a lot of work on this
recently in his own branch.
Best,
Tobie
On Jan 7, 9:09 pm, "CHARLIER Cyril" wrote:
> I don't think there is a branch for this because there is nothing to
> translate in the code
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 wrote:
>
> FYI: We're planning on migrating the docs inline.
>
> Link up with Samuel Lebeau, he's been doing a lot of work