mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
92405d4f5f
Bug fixed on the side: $(window).is('a') was throwing an exception. Fixes #10178.
11 lines
323 B
JavaScript
11 lines
323 B
JavaScript
// Override sizzle attribute retrieval
|
|
Sizzle.attr = jQuery.attr;
|
|
Sizzle.selectors.attrMap = {};
|
|
jQuery.find = Sizzle;
|
|
jQuery.expr = Sizzle.selectors;
|
|
jQuery.expr[":"] = jQuery.expr.filters;
|
|
jQuery.unique = Sizzle.uniqueSort;
|
|
jQuery.text = Sizzle.getText;
|
|
jQuery.isXMLDoc = Sizzle.isXML;
|
|
jQuery.contains = Sizzle.contains;
|