PageRenderTime 14ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/application/static/libs/adminlte/bower_components/jquery/src/core/nodeName.js

https://bitbucket.org/tin_gimranoff/docstar
JavaScript | 13 lines | 7 code | 6 blank | 0 comment | 1 complexity | a0a157a603ed1550a056bddabc120c74 MD5 | raw file
 1define( function() {
 2
 3"use strict";
 4
 5function nodeName( elem, name ) {
 6
 7  return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
 8
 9};
10
11return nodeName;
12
13} );