Ticket #6419 (new enhancement)
improve dojo.string.trim()
| Reported by: | guest | Owned by: | peller |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | String | Version: | 1.1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Refs #3731.
Actual dojo.string.trim() implementation comes from a Steven Levithan's post.
Steven Levithan has added to his post about trim (http://blog.stevenlevithan.com/archives/faster-trim-javascript) a faster and shorter implementation (the 12th, he calls it trim12). I think dojo.string.trim() should be updated with that implementation.
Change History
Note: See
TracTickets for help on using
tickets.