Module: R2
- Defined in:
- lib/r2.rb,
lib/r2/version.rb
Overview
Change the directionality of a block of CSS code from right-to-left to left-to-right. This includes not only altering the direction
attribute but also altering the 4-argument version of things like padding
to correctly reflect the change. CSS is also minified, in part to make the processing easier.
- Author
-
Matt Sanford ([email protected])
- Copyright
-
Copyright © 2011 Twitter, Inc.
- License
-
Licensed under the Apache License, Version 2.0
Defined Under Namespace
Classes: Swapper
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
-
.r2(css) ⇒ Object
Short cut method for providing a one-time CSS change.