Don't redeclare variable

This commit is contained in:
Tom Payne
2014-03-23 19:04:45 +01:00
parent a5cc4d0728
commit 8c6c262a6a

View File

@@ -118,8 +118,7 @@ describe('ol.pointer.TouchSource', function() {
});
function simulateTouchEvent(type, changedTouches, touches) {
var touches = goog.isDef(touches) ?
touches : changedTouches;
touches = goog.isDef(touches) ? touches : changedTouches;
var event = new goog.events.BrowserEvent({
type: type,