Don't redeclare variable
This commit is contained in:
@@ -118,8 +118,7 @@ describe('ol.pointer.TouchSource', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
function simulateTouchEvent(type, changedTouches, touches) {
|
function simulateTouchEvent(type, changedTouches, touches) {
|
||||||
var touches = goog.isDef(touches) ?
|
touches = goog.isDef(touches) ? touches : changedTouches;
|
||||||
touches : changedTouches;
|
|
||||||
|
|
||||||
var event = new goog.events.BrowserEvent({
|
var event = new goog.events.BrowserEvent({
|
||||||
type: type,
|
type: type,
|
||||||
|
|||||||
Reference in New Issue
Block a user