* 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 )
| 1082 | * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value |
| 1083 | */ |
| 1084 | function testContext( context ) { |
| 1085 | return context && typeof context.getElementsByTagName !== "undefined" && context; |
| 1086 | } |
| 1087 | |
| 1088 | // Expose support vars for convenience |
| 1089 | support = Sizzle.support = {}; |
no outgoing calls
no test coverage detected
searching dependent graphs…