diff options
Diffstat (limited to 'src/selector.js')
-rw-r--r-- | src/selector.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/selector.js b/src/selector.js index 4b9c8b6ed..bc60e61e4 100644 --- a/src/selector.js +++ b/src/selector.js @@ -282,7 +282,8 @@ function createCache() { function cache( key, value ) { - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + // Use (key + " ") to avoid collision with native prototype properties + // (see https://github.com/jquery/sizzle/issues/157) if ( keys.push( key + " " ) > Expr.cacheLength ) { // Only keep the most recent entries @@ -432,7 +433,7 @@ function setDocument( node ) { documentIsHTML = !jQuery.isXMLDoc( document ); // Support: IE 9 - 11+ - // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Accessing iframe documents after unload throws "permission denied" errors (see trac-13936) // Support: IE 11+ // IE sometimes throws a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. @@ -843,7 +844,8 @@ Expr = jQuery.expr = { input[ 0 ] = elem; matcher( input, null, xml, results ); - // Don't keep the element (issue #299) + // Don't keep the element + // (see https://github.com/jquery/sizzle/issues/299) input[ 0 ] = null; return !results.pop(); }; @@ -1348,7 +1350,8 @@ function matcherFromTokens( tokens ) { matchContext( elem, context, xml ) : matchAnyContext( elem, context, xml ) ); - // Avoid hanging onto element (issue #299) + // Avoid hanging onto element + // (see https://github.com/jquery/sizzle/issues/299) checkContext = null; return ret; } ]; |