MCPcopy Create free account
hub / github.com/TruthHun/BookStack / createInputPseudo

Function createInputPseudo

static/wangEditor/js/lib/jquery-2.2.1.js:964–969  ·  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

962 * @param {String} type
963 */
964function createInputPseudo( type ) {
965 return function( elem ) {
966 var name = elem.nodeName.toLowerCase();
967 return name === "input" && elem.type === type;
968 };
969}
970
971/**
972 * Returns a function to use in pseudos for buttons

Callers 1

jquery-2.2.1.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected