Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2 from estenh/master

Swapping clear property direction
  • Loading branch information...
commit b91f87e00d747f7995a10124e3fe58da34c94ee6 2 parents 274c8ac + 3e191ae
@mzsanford authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/r2.rb
View
3  lib/r2.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.