Skip to content

Commit

Permalink
tabs vs spaces is the suxors
Browse files Browse the repository at this point in the history
  • Loading branch information
roryf committed Apr 28, 2012
1 parent 432e5af commit 51b8f38
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/assets/javascripts/server/cast_view.js.coffee
Expand Up @@ -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
Expand Down

0 comments on commit 51b8f38

Please sign in to comment.