JAVASCRIPT   73

selector-sizzle.js

Guest on 24th August 2021 06:22:13 PM

  1. define([
  2.         "./core",
  3.         "sizzle"
  4. ], function( jQuery, Sizzle ) {
  5.  
  6. jQuery.find = Sizzle;
  7. jQuery.expr = Sizzle.selectors;
  8. jQuery.expr[":"] = jQuery.expr.pseudos;
  9. jQuery.unique = Sizzle.uniqueSort;
  10. jQuery.text = Sizzle.getText;
  11. jQuery.isXMLDoc = Sizzle.isXML;
  12. jQuery.contains = Sizzle.contains;
  13.  
  14. });

Raw Paste


Login or Register to edit or fork this paste. It's free.