refactor(utils): rename function

This commit is contained in:
moklick
2019-10-07 14:28:43 +02:00
parent 4f4f597eb6
commit eba97b586f
5 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
export const isFunction = obj => !!(obj && obj.constructor && obj.call && obj.apply);
export const isInputNode = e => e && e.target && ['INPUT', 'SELECT', 'TEXTAREA'].includes(e.target.nodeName);
export const inInputDOMNode = e => e && e.target && ['INPUT', 'SELECT', 'TEXTAREA'].includes(e.target.nodeName);
export const getDimensions = (node = {}) => ({
width: node.offsetWidth,