Skip to content

Commit

Permalink
Put specific events in their own implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen Bok committed May 3, 2013
1 parent 1ec6a88 commit 2b3accc
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/primitives/events.coffee
Expand Up @@ -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
Expand Down

0 comments on commit 2b3accc

Please sign in to comment.