Skip to content

Commit

Permalink
Ran rake whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeboer committed Aug 14, 2012
1 parent ba4ad9e commit 19c35cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/touch.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
touchTimeout = tapTimeout = swipeTimeout = longTapTimeout = null
touch = {}
}

function trigger(eventName, cancelFunction) {
var event, parameters = {
position: {
Expand All @@ -47,9 +47,9 @@
endY: touch.y2
}
}

if (cancelFunction) parameters.cancelTouch = cancelFunction

event = $.Event(eventName, parameters)
touch.el.trigger(event)
}
Expand Down Expand Up @@ -97,7 +97,7 @@
// trigger universal 'tap' with the option to cancelTouch()
// (cancelTouch cancels processing of single vs double taps for faster 'tap' response)
trigger('tap', cancelAll)

// trigger double tap immediately
if (touch.isDoubleTap) {
trigger('doubleTap')
Expand Down

0 comments on commit 19c35cf

Please sign in to comment.