Comparing version 0.5.0 to 0.6.0
@@ -0,0 +0,0 @@ RTLCSS CLI |
@@ -8,3 +8,3 @@ function main(configuration) { | ||
"name": "ignore", | ||
"expr": /\/\*rtl:ignore\*\//img, | ||
"expr": /(?:[^]*)(?:\/\*rtl:ignore)([^]*?)(?:\*\/)/img, | ||
"action": function (rule) { | ||
@@ -16,3 +16,3 @@ return true; | ||
"name": "rename", | ||
"expr": /\/\*rtl:rename\*\//img, | ||
"expr": /(?:[^]*)(?:\/\*rtl:rename)([^]*?)(?:\*\/)/img, | ||
"action": function (rule) { | ||
@@ -19,0 +19,0 @@ var renamed = util.swapLeftRight(util.swapLtrRtl(util.swapWestEast(rule.selector))); |
{ | ||
"author": "Mohammad Younes", | ||
"name": "rtlcss", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Framework for transforming cascading style sheets (CSS) from left-to-right (LTR) to right-to-left (RTL)", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/MohammadYounes/rtlcss/issues?state=open", |
@@ -200,3 +200,3 @@ [![GitHub version](https://badge.fury.io/gh/MohammadYounes%2Frtlcss.svg)](http://badge.fury.io/gh/MohammadYounes%2Frtlcss) | ||
| **`important`** | `boolean` | Controls whether to insert the PI at the start or end of the declarations PIs list. | ||
| **`action`** | `function` | The action to be called when a match is found, it will be passed a `prop` (string holding the CSS property name) and `value` (string holding the CSS property raw value). If `options.preserveComments == true`, comments in the raw value will be replaced by the Unicode Character 'REPLACEMENT CHARACTER' (U+FFFD) � to simplify pattern matching. The functions is expected to return an object containing the modified version of the property and its value. | ||
| **`action`** | `function` | The action to be called when a match is found, it will be passed a `prop` (string holding the CSS property name) and `value` (string holding the CSS property raw value). If `options.preserveComments == true`, comments in the raw value will be replaced by the Unicode Character 'REPLACEMENT CHARACTER' (U+FFFD) � (this is to simplify pattern matching). The function is expected to return an object containing the modified version of the property and its value. | ||
@@ -225,2 +225,5 @@ | ||
## Release Notes | ||
* **v0.6.0** [4 Jul. 2014] | ||
* Allow additional comments inside `ignore`/`rename` rule level directives. | ||
* **v0.5.0** [11 Jun. 2014] | ||
@@ -227,0 +230,0 @@ * Add CLI support. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68610
261