Commit 1114611f authored by Richard Gibson's avatar Richard Gibson

Ref 4ef51690: Update selector-native for new Sizzle dependencies

parent 5d1dfe74
...@@ -133,7 +133,9 @@ jQuery.extend({ ...@@ -133,7 +133,9 @@ jQuery.extend({
return (elem.ownerDocument || elem).documentElement.nodeName !== "HTML"; return (elem.ownerDocument || elem).documentElement.nodeName !== "HTML";
}, },
expr: { expr: {
attrHandle: {},
match: { match: {
boolean: /^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,
needsContext: /^[\x20\t\r\n\f]*[>+~]/ needsContext: /^[\x20\t\r\n\f]*[>+~]/
} }
} }
...@@ -145,5 +147,8 @@ jQuery.extend( jQuery.find, { ...@@ -145,5 +147,8 @@ jQuery.extend( jQuery.find, {
}, },
matchesSelector: function( elem, expr ) { matchesSelector: function( elem, expr ) {
return matches.call( elem, expr ); return matches.call( elem, expr );
},
attr: function( elem, name ) {
return elem.getAttribute( name );
} }
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment