Bug Tracker

Changeset 2256

Show
Ignore:
Timestamp:
07/06/07 13:36:38 (1 year ago)
Author:
jeresig
Message:

Final fix for Safari crasher (bug #1331).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/src/selector/selector.js

    r2253 r2256  
    6464        // Match: :even, :last-chlid, #id, .class 
    6565        new RegExp("^([:.#]*)(" +  
    66             ( jQuery.chars = jQuery.browser.safari && jQuery.browser.version < 416.12 ? "(?:[\\w*_-]|\\\\.)" : "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)") 
     66            ( jQuery.chars = jQuery.browser.safari && parseInt(jQuery.browser.version) < 417 ? "(?:[\\w*_-]|\\\\.)" : "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)") 
    6767    ], 
    6868