Permalink
Browse files

No commit message

  • Loading branch information...
1 parent 10fad08 commit 2838a82fb0c96840270dbd8b8a3c1cc144b80d4d @utgarda committed Jan 17, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 frog-class-1.coffee
View
@@ -1,10 +1,10 @@
class Frog
constructor: (@obj) ->
up: ->
- @obj = @obj.animate(top:'-=40',height:78).animate height:38
+ @obj.animate(top:'-=40',height:78).animate height:38
down: ->
- @obj = @obj.animate(height:78).animate top:'+=40',height:38
+ @obj.animate(height:78).animate top:'+=40',height:38
right: ->
- @obj = @obj.animate(width:78).animate left:'+=40', width:38
+ @obj.animate(width:78).animate left:'+=40', width:38
left: ->
- @obj = @obj.animate(left:'-=40', width:78).animate width:38
+ @obj.animate(left:'-=40', width:78).animate width:38

0 comments on commit 2838a82

Please sign in to comment.