Bug Tracker

Changes between Initial Version and Version 1 of Ticket #7211, comment 2


Ignore:
Timestamp:
Oct 20, 2010, 9:32:26 AM (12 years ago)
Author:
tomgrohl
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7211, comment 2

    initial v1  
    11In jQuery 1.4.2 it used its own means of trimming whitespace. Now in 1.4.3 it checks to see if the native trim exists and uses that if it does.
    22
    3 It would seem that jQuery's regex trim works quicker than the native trim. But I think this would depend mainly on the browser.
     3It would seem that jQuery's regex trim works quicker than the native trim in some cases. But I think this would depend mainly on the browser AND the size of the word being trimmed. Generally most words would be relatively small.