worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
16
node_modules/dom-helpers/cjs/isInput.js
generated
vendored
Normal file
16
node_modules/dom-helpers/cjs/isInput.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
"use strict";
|
||||
|
||||
exports.__esModule = true;
|
||||
exports.default = isInput;
|
||||
var regExpInputs = /^(?:input|select|textarea|button)$/i;
|
||||
/**
|
||||
* Checks if a given element is an input (input, select, textarea or button).
|
||||
*
|
||||
* @param node the element to check
|
||||
*/
|
||||
|
||||
function isInput(node) {
|
||||
return node ? regExpInputs.test(node.nodeName) : false;
|
||||
}
|
||||
|
||||
module.exports = exports["default"];
|
||||
Loading…
Add table
Add a link
Reference in a new issue