Browse files

tabs vs spaces is the suxors

  • Loading branch information...
1 parent 432e5af commit 51b8f388daf9024f860920b71639fa7b70fd6c51 @roryf roryf committed Apr 28, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 app/assets/javascripts/server/cast_view.js.coffee
View
12 app/assets/javascripts/server/cast_view.js.coffee
@@ -41,12 +41,12 @@ class CastMember extends Backbone.View
Shake.Sounds.playSound 'fart'
flowers: =>
- noFlowers = @$el.find('.flower').length
- left = 20 * (noFlowers % 4)
- if (left > @dimensions.width)
- left = 0
- top = 23 * Math.floor(noFlowers / 4)
- @$el.append $('<img class="decoration flower" src="/assets/flowers.png" />').css({left: left, top: top})
+ noFlowers = @$el.find('.flower').length
+ left = 20 * (noFlowers % 4)
+ if (left > @dimensions.width)
+ left = 0
+ top = 23 * Math.floor(noFlowers / 4)
+ @$el.append $('<img class="decoration flower" src="/assets/flowers.png" />').css({left: left, top: top})
Shake.Sounds.playSound 'pop'
class Shake.ServerViews.Cast extends Backbone.View

0 comments on commit 51b8f38

Please sign in to comment.