* Checks a node for validity as a Sizzle context * @param {Element|Object=} context * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
( context )
| 1022 | * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value |
| 1023 | */ |
| 1024 | function testContext( context ) { |
| 1025 | return context && typeof context.getElementsByTagName !== strundefined && context; |
| 1026 | } |
| 1027 | |
| 1028 | // Expose support vars for convenience |
| 1029 | support = Sizzle.support = {}; |
no outgoing calls
no test coverage detected