Permalink
Browse files

Merge pull request #2 from estenh/master

Swapping clear property direction
  • Loading branch information...
2 parents 274c8ac + 3e191ae commit b91f87e00d747f7995a10124e3fe58da34c94ee6 @mzsanford committed Oct 8, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/r2.rb
View
@@ -54,7 +54,8 @@ class Swapper
'box-shadow' => lambda {|obj,val| obj.quad_swap(val) },
'-webkit-box-shadow' => lambda {|obj,val| obj.quad_swap(val) },
'-moz-box-shadow' => lambda {|obj,val| obj.quad_swap(val) },
- 'direction' => lambda {|obj,val| obj.direction_swap(val) }
+ 'direction' => lambda {|obj,val| obj.direction_swap(val) },
+ 'clear' => lambda {|obj,val| obj.side_swap(val) }
}
# Given a String of CSS perform the full directionality change

0 comments on commit b91f87e

Please sign in to comment.