reverted sorting back to one liner

This commit is contained in:
Scott Davis 2011-07-27 03:01:28 -04:00
parent 8c48248a72
commit 3a4d1e07b7
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
compass (0.12.0.alpha.0.0984b48) compass (0.12.0.alpha.0.8c48248)
chunky_png (~> 1.2) chunky_png (~> 1.2)
fssm (>= 0.2.7) fssm (>= 0.2.7)
sass (~> 3.1) sass (~> 3.1)

View File

@ -16,7 +16,7 @@ module Compass
calculate_horizontal_positions calculate_horizontal_positions
calculate_width calculate_width
else else
@images.sort! {|a,b| b.size <=> b.size} #put small images first @images.sort! {|a,b| b.size <=> a.size}
calculate_width calculate_width
calulate_vertical_postions calulate_vertical_postions
calculate_height calculate_height