Skip to content
Permalink
Browse files

Put specific events in their own implementations

  • Loading branch information...
Koen Bok
Koen Bok committed May 3, 2013
1 parent 1ec6a88 commit 2b3acccdf7716d6af2203b5e8f61d2e026aa542d
Showing with 2 additions and 7 deletions.
  1. +2 −7 src/primitives/events.coffee
@@ -18,14 +18,9 @@ else
Events.MouseOver = "mouseover"
Events.MouseOut = "mouseout"

# Specific Framer events

Events.DragStart = "dragstart"
Events.DragMove = "dragmove"
Events.DragEnd = "dragend"


Events.sanitize = (event) ->
# Extract touch events for any event
Events.touchEvent = (event) ->
touchEvent = event.touches?[0]
touchEvent ?= event.changedTouches?[0]
touchEvent ?= event

0 comments on commit 2b3accc

Please sign in to comment.
You can’t perform that action at this time.