On Tue, Nov 4, 2008 at 6:34 PM, Andrea Giammarchi
<[EMAIL PROTECTED]> wrote:
> Ariel,
> I read now the myBestTrim function.
>
> You check charCodeAt less than 33, but in the precedent version you used
> these chars:
> chars = '
> \n\r\t\v\f\u00a0\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u2028\u2029\u3000';
>
> I wonder which side effect could we have ignoring thos u2XXX characters,
> that as far as I know, are not included in range 0, 33 ... am I wrong?

You should read the article, not just the snippet of code :)


-- 
Ariel Flesler
http://flesler.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to