Open bfarka opened 9 years ago
Our static code analysis tool detected a trailing comma for the pointer_events
BAD:
fn.events = function() { this.pointer_events = { start: this.nsEvent('touchstart') + ' ' + this.nsEvent('mousedown'), move: this.nsEvent('touchmove') + ' ' + this.nsEvent('mousemove'), end: this.nsEvent('touchend') + ' ' + this.nsEvent('mouseup'), };
GOOD:
fn.events = function() { this.pointer_events = { start: this.nsEvent('touchstart') + ' ' + this.nsEvent('mousedown'), move: this.nsEvent('touchmove') + ' ' + this.nsEvent('mousemove'), end: this.nsEvent('touchend') + ' ' + this.nsEvent('mouseup') };
Our static code analysis tool detected a trailing comma for the pointer_events
BAD:
GOOD: