spec/support/doc/js/navigation.js
Function onkeydown
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.onkeydown = function(e) {
if (!this.navigationActive) return;
switch(e.keyCode) {
case 37: //Event.KEY_LEFT:
if (this.moveLeft()) e.preventDefault();