 $ = if typeof jQuery is 'function' then jQuery else require 'jquery'
 
 activeClass = 'touchactive'
-preventDefault = true
+preventDefaultClick = true
 
 # Store a timestamp of when the last touch event occurred
 lastTouched = 0

  if e.type.match 'touchstart|touchmove|touchend'
    lastTouched = currentTimestamp

  if secondsSinceTouch < 3 and e.type.match 'mouse'
    true
  else
    false

getTouchclickEl = (target) ->
  $targetEl = $ target

events = (type) ->
  $el = $ this

  if preventDefaultClick
    $el[type] 'click', (e) ->
      e.preventDefault()

