Permalink
Browse files

No commit message

  • Loading branch information...
1 parent 3de3b0d commit e1515dd510cb59e8618464c666f2748b6b4f1017 @utgarda committed Jan 17, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 ani3-up-down-left-right.coffee
@@ -8,10 +8,13 @@ down = (bar) ->
.animate
top: '+=40'
height: 38
-#Keep the syntax clean
+# Keep the syntax clean
right = (bar) ->
bar.animate(width:78).animate left: '+=40', width:38
# Or put all the brackets possible
# (but that's not what CS is about ;)
left = (bar) ->
- bar.animate({left:'-=40',width:78}).animate({width:38})
+ bar.animate({left:'-=40',width:78}).animate({width:38})
+# All for definitions are valid and usable:
+$j('#ani3_jump_around').click ->
+ left down right right up up left left down right bars2[4]

0 comments on commit e1515dd

Please sign in to comment.