Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Change __trim__ to Envjs.trim so it can per-platform

#149

another minor one...

we use a global function trim strip whitespace from a string. It uses regexp to do the work.

On every platform except Rhino, String.prototype.trim exists, which is likely to 10,000,000x faster than the regexp. We should make it easy to replace the guts of the trim function.

Reported by nickg · April 8th, 2010 @ 03:12 PM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.