MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / createInputPseudo

Function createInputPseudo

camera/jquery.js:943–948  ·  view source on GitHub ↗

* Returns a function to use in pseudos for input types * @param {String} type

( type )

Source from the content-addressed store, hash-verified

941 * @param {String} type
942 */
943function createInputPseudo( type ) {
944 return function( elem ) {
945 var name = elem.nodeName.toLowerCase();
946 return name === "input" && elem.type === type;
947 };
948}
949
950/**
951 * Returns a function to use in pseudos for buttons

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected