js/waves.js
Function hide
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
hide: function(e) {
TouchHandler.touchup(e);
var el = this;
var width = el.clientWidth * 1.4;
Function show
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show: function(e, element) {
// Disable right click
if (e.button === 2) {
return false;