Skip to main content

Bug Tracker

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 john comment:1

component: unfiledcore
milestone: 1.41.4.3
resolution: → fixed
status: newclosed
version: 1.3.21.4.2