plugins/display_content/public/javascripts/jstree-v.pre1.0/_lib/jquery.hotkeys.js
Function keyHandler
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function keyHandler( handleObj ) {
// Only care when a possible input has been specified
if ( typeof handleObj.data !== "string" ) {
return;
}
Function handler
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
handleObj.handler = function( event ) {
// Don't fire in text-accepting inputs that we didn't directly bind to
if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) ||
event.target.type === "text") ) {
return;