Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
koenbok committed May 12, 2015
1 parent 53b28cf commit 6707a25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framer/Components/PageComponent.coffee
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class exports.PageComponent extends ScrollComponent
# See if we meet the minimum velocity to scroll to the next page. If not we snap # See if we meet the minimum velocity to scroll to the next page. If not we snap
# to the layer closest to the scroll point. # to the layer closest to the scroll point.
if Math.max(Math.abs(velocity.x), Math.abs(velocity.y)) < @velocityThreshold if Math.max(Math.abs(velocity.x), Math.abs(velocity.y)) < @velocityThreshold
print "velocity" # print "velocity"
@snapToPage(@closestPage, true, @animationOptions) @snapToPage(@closestPage, true, @animationOptions)
return return


Expand All @@ -165,8 +165,8 @@ class exports.PageComponent extends ScrollComponent
# that we are already at. # that we are already at.
nextPage ?= @closestPage nextPage ?= @closestPage


print Math.max(Math.abs(velocity.x), Math.abs(velocity.y)) # print Math.max(Math.abs(velocity.x), Math.abs(velocity.y))
print @direction, nextPage # print @direction, nextPage


@snapToPage(nextPage, true, @animationOptions) @snapToPage(nextPage, true, @animationOptions)


Expand Down

0 comments on commit 6707a25

Please sign in to comment.