Modify ↓
Ticket #5602 (closed bug: fixed)
trim bug
| Reported by: | object0 | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.4 |
| Component: | core | Version: | 1.4a1 |
| Keywords: | trim | Cc: | |
| Blocking: | Blocked by: |
Description
trim function (jQuery v1.4a1) strips all spaces from a string.
$.trim(' time in motion '); *timeinmotion*
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Patch here:
http://github.com/dmethvin/jquery/commit/ca438a71cc6d64c5c8b9dd5b9b60617ecd501e54