src/dom/event.js
Function definition
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function definition(hooksEvent) {
function getTarget(event) {
var target = event.target || event.srcElement || document;
return target.nodeType === 3 ? target.parentNode : target;