diff options
Diffstat (limited to 'src/core/nodeName.js')
-rw-r--r-- | src/core/nodeName.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/nodeName.js b/src/core/nodeName.js index ac90c6075..014672b87 100644 --- a/src/core/nodeName.js +++ b/src/core/nodeName.js @@ -1,7 +1,3 @@ -function nodeName( elem, name ) { - +export function nodeName( elem, name ) { return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - } - -export default nodeName; |