Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added side swap for clear property

  • Loading branch information...
commit 3e191ae60c259fccb853b4d4f64d409a9e6698f9 1 parent 274c8ac
@esten esten 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.