MCPcopy Create free account
hub / github.com/sql-js/sql.js / createButtonPseudo

Function createButtonPseudo

documentation/javascript/application.js:4842–4847  ·  view source on GitHub ↗
( type )

Source from the content-addressed store, hash-verified

4840
4841// Returns a function to use in pseudos for buttons
4842function createButtonPseudo( type ) {
4843 return function( elem ) {
4844 var name = elem.nodeName.toLowerCase();
4845 return (name === "input" || name === "button") && elem.type === type;
4846 };
4847}
4848
4849/**
4850 * Utility function for retrieving the text value of an array of DOM nodes

Callers 1

application.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…