4321 jQuery('#') returns empty jquery object

This commit is contained in:
rwldrn 2011-01-01 17:18:47 -05:00
parent 037d6bd5c3
commit 5f52e61d74

View File

@ -19,7 +19,6 @@ var jQuery = function( selector, context ) {
// (both of which we optimize for)
quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
// Is it a simple selector
isSimple = /^.[^:#\[\.,]*$/,