Side navigation
#4835 closed enhancement (fixed)
Opened June 30, 2009 04:23PM UTC
Closed March 09, 2010 02:15PM UTC
Use native trim() implementation if exists
Reported by: | rkatic | 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 || ''); } }
Attachments (0)
Change History (1)
Changed March 09, 2010 02:15PM UTC by comment:1
component: | unfiled → core |
---|---|
milestone: | 1.4 → 1.4.3 |
resolution: | → fixed |
status: | new → closed |
version: | 1.3.2 → 1.4.2 |
Fixed.
http://github.com/jquery/jquery/commit/141ad3c3e21e7734e67e37b5fb39782fe11b3c18