[Moo] Re: I started a simple blog.

2010-06-01 Thread Arian
Wow... replied the wrong post:P On Jun 1, 3:04 pm, Arian wrote: > You can use feature detection for video > > http://github.com/Modernizr/Modernizr/blob/master/modernizr.js#L552 > > On May 31, 10:53 pm, jiggliemon wrote: > > > > > That's more or less a long winded version of the first one-liner

[Moo] Re: I started a simple blog.

2010-06-01 Thread Arian
You can use feature detection for video http://github.com/Modernizr/Modernizr/blob/master/modernizr.js#L552 On May 31, 10:53 pm, jiggliemon wrote: > That's more or less a long winded version of the first one-liner > version. > & the first one-liner is at that, more or less a less-winded version

[Moo] Re: I started a simple blog.

2010-05-31 Thread jiggliemon
That's more or less a long winded version of the first one-liner version. & the first one-liner is at that, more or less a less-winded version of the OG. maybe we having the ability to return Boolean would be nice; This version doesn't allow that. - // sums it up nicely. Number.implement({

[Moo] Re: I started a simple blog.

2010-05-31 Thread eskimoblood
Ok, an one liner again, now with all falsi values expect undefined: http://jsfiddle.net/Jm2Hb/24/ On May 31, 8:10 pm, jiggliemon wrote: > @jay: The goal is to determine Parity, -not necessarily color rows. > @Michael: Is there any benefit to the two liner over the almost > exactly same one liner

[Moo] Re: I started a simple blog.

2010-05-31 Thread jiggliemon
@jay: The goal is to determine Parity, -not necessarily color rows. @Michael: Is there any benefit to the two liner over the almost exactly same one liner you wrote? I'm re-writing the post to be more "How to get Parity" and less "How to color rows". On May 31, 8:59 am, Slik Jay wrote: > http:/

Re: [Moo] Re: I started a simple blog.

2010-05-31 Thread Slik Jay
http://jsfiddle.net/Jm2Hb/19/ On Mon, May 31, 2010 at 6:29 PM, Michael Ficarra wrote: > "" (an empty string) is a falsy value. I think the original poster of > the one-line version believed as I did that the nil function the OP > was using was determining falsiness (which is pretty useless in the

[Moo] Re: I started a simple blog.

2010-05-31 Thread Michael Ficarra
"" (an empty string) is a falsy value. I think the original poster of the one-line version believed as I did that the nil function the OP was using was determining falsiness (which is pretty useless in the original use case). I created a fast two-liner (http://jsfiddle.net/ Jm2Hb/18/) that should a

[Moo] Re: I started a simple blog.

2010-05-31 Thread rasmusfl0e
How would you get ""/"odd" back as even/odd using that one liner? "" || "even" would return "even" On May 31, 2:56 pm, Michael Ficarra wrote: > A slightly faster one-liner:http://jsfiddle.net/Jm2Hb/9/ > > Use &1 to check the last bit. It's faster than modding, especially for > larger numbers. >

[Moo] Re: I started a simple blog.

2010-05-31 Thread Michael Ficarra
A slightly faster one-liner: http://jsfiddle.net/Jm2Hb/9/ Use &1 to check the last bit. It's faster than modding, especially for larger numbers. On May 31, 4:09 am, eskimoblood wrote: > Btw, your parity method could be an one liner: return this%2 ? odd || > 'odd' : even || 'even';http://jsfiddle

Re: [Moo] Re: I started a simple blog.

2010-05-31 Thread Oskar Krawczyk
Well, you can use Selectors to do that. O. On 31 May 2010, at 09:09, eskimoblood wrote: > Btw, your parity method could be an one liner: return this%2 ? odd || > 'odd' : even || 'even'; > http://jsfiddle.net/Jm2Hb/8/ > > On May 31, 5:09 am, Aaron Newton wrote: >>> 2. stop feeling guilty about

[Moo] Re: I started a simple blog.

2010-05-31 Thread eskimoblood
Btw, your parity method could be an one liner: return this%2 ? odd || 'odd' : even || 'even'; http://jsfiddle.net/Jm2Hb/8/ On May 31, 5:09 am, Aaron Newton wrote: > > 2. stop feeling guilty about being a leach every time I read Arron > > Newton write "... or start a blog ..." > > I think you're t

RE: [Moo] Re: I started a simple blog.

2010-05-30 Thread Matthew Hazlett
groups.com Subject: Re: [Moo] Re: I started a simple blog. No worries, it ain't going anywhere, we've got some powerful servers holding jsFiddle together. On 30 May 2010, at 22:46, jiggliemon wrote: > Yeah, > if jsFiddle goes down, all my examples and code will be useless. >

Re: [Moo] Re: I started a simple blog.

2010-05-30 Thread Fábio M . Costa
Good! Just as a note, "nil" has been remove from 1.3. Cya around. -- Fábio Miranda Costa Solucione Sistemas Engenheiro de interfaces Twitter: fabiomiranda http://solucione.info On Sun, May 30, 2010 at 6:49 PM, Oskar Krawczyk wrote: > No worries, it ain't going anywhere, we've got some powerful

Re: [Moo] Re: I started a simple blog.

2010-05-30 Thread Oskar Krawczyk
No worries, it ain't going anywhere, we've got some powerful servers holding jsFiddle together. On 30 May 2010, at 22:46, jiggliemon wrote: > Yeah, > if jsFiddle goes down, all my examples and code will be useless. > > I'm betting on you Oskar! > -Chase > > > On May 30, 2:21 pm, Oskar Krawcz

[Moo] Re: I started a simple blog.

2010-05-30 Thread jiggliemon
Yeah, if jsFiddle goes down, all my examples and code will be useless. I'm betting on you Oskar! -Chase On May 30, 2:21 pm, Oskar Krawczyk wrote: > Nice, jsFiddle :-) > > On 30 May 2010, at 21:55, jiggliemon wrote: > > > I started it for many reasons. > > 1. First and mainly for a personal refe