Opened 14 years ago
Closed 13 years ago
#4835 closed enhancement (fixed)
Use native trim() implementation if exists
Reported by: | Robert Katić | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4.3 |
Component: | core | Version: | 1.4.2 |
Keywords: | trim, string, native | Cc: | |
Blocked by: | Blocking: |
Description
if ( String.trim ) { jQuery.trim = function( text ) { return String.trim(text || ''); } }
Change History (1)
comment:1 Changed 13 years ago by
Component: | unfiled → core |
---|---|
Milestone: | 1.4 → 1.4.3 |
Resolution: | → fixed |
Status: | new → closed |
Version: | 1.3.2 → 1.4.2 |
Note: See
TracTickets for help on using
tickets.
Fixed. http://github.com/jquery/jquery/commit/141ad3c3e21e7734e67e37b5fb39782fe11b3c18