* Returns a function to use in pseudos for input types * @param {String} type
( type )
| 937 | * @param {String} type |
| 938 | */ |
| 939 | function createInputPseudo( type ) { |
| 940 | return function( elem ) { |
| 941 | var name = elem.nodeName.toLowerCase(); |
| 942 | return name === "input" && elem.type === type; |
| 943 | }; |
| 944 | } |
| 945 | |
| 946 | /** |
| 947 | * Returns a function to use in pseudos for buttons |
no outgoing calls
no test coverage detected
searching dependent graphs…