Prefer single line assignment to 80 character limit
This commit is contained in:
@@ -111,8 +111,7 @@ ol.pointer.MouseSource.DEDUP_DIST = 25;
|
||||
* @param {goog.events.BrowserEvent} inEvent The in event.
|
||||
* @return {boolean} True, if the event was generated by a touch.
|
||||
*/
|
||||
ol.pointer.MouseSource.prototype.isEventSimulatedFromTouch_ =
|
||||
function(inEvent) {
|
||||
ol.pointer.MouseSource.prototype.isEventSimulatedFromTouch_ = function(inEvent) {
|
||||
var lts = this.lastTouches;
|
||||
var x = inEvent.clientX, y = inEvent.clientY;
|
||||
for (var i = 0, l = lts.length, t; i < l && (t = lts[i]); i++) {
|
||||
|
||||
Reference in New Issue
Block a user