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

Function createButtonPseudo

static/wangEditor/js/lib/jquery-2.2.1.js:975–980  ·  view source on GitHub ↗

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

( type )

Source from the content-addressed store, hash-verified

973 * @param {String} type
974 */
975function createButtonPseudo( type ) {
976 return function( elem ) {
977 var name = elem.nodeName.toLowerCase();
978 return (name === "input" || name === "button") && elem.type === type;
979 };
980}
981
982/**
983 * Returns a function to use in pseudos for positionals

Callers 1

jquery-2.2.1.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected