-
Notifications
You must be signed in to change notification settings - Fork 20.5k
Closed
Labels
Description
Looks like uniqueSort function is not resolved correctly when jQuery is builded without Sizzle dependency.
When I try to call chained find methods I'm getting following exception: Uncaught TypeError: n.uniqueSort is not a function
TC
-
Build jQuery with
grunt custom:-sizzle -
Try to chain multiple
findcalls, e.g.<!doctype html> <html lang="en"> <head> <title>title</title> </head> <body> <div> foo </div> <div> <span>bar</span> </div> <script src="dist/jquery.min.js"></script> <script> console.log( $('div').find('span').length ); </script> </body> </html>
-
An exception is thrown:
Uncaught TypeError: n.uniqueSort is not a function.
It happens also with other calls, e.g. $( 'div' ).has( 'span' ).