Comparing version 0.4.1 to 0.5.0
0.5.0 / 2012-09-17 | ||
================== | ||
* add `.toString({ compress: true })` support | ||
0.4.1 / 2012-09-17 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -68,2 +68,3 @@ | ||
* | ||
* @param {Object} options | ||
* @return {String} | ||
@@ -73,4 +74,4 @@ * @api public | ||
Rework.prototype.toString = function(){ | ||
return css.stringify(this.obj); | ||
Rework.prototype.toString = function(options){ | ||
return css.stringify(this.obj, options); | ||
}; | ||
@@ -77,0 +78,0 @@ |
{ | ||
"name": "rework", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "CSS manipulations built on CSSOM", | ||
@@ -5,0 +5,0 @@ "keywords": ["css", "manipulation", "preprocess", "transform"], |
@@ -29,3 +29,2 @@ # rework | ||
``` | ||
@@ -57,5 +56,6 @@ | ||
### Rework#toString() | ||
### Rework#toString(options) | ||
Return the string representation of the manipulated css. | ||
Return the string representation of the manipulated css. Optionally | ||
you may compress the output with `.toString({ compress: true })` | ||
@@ -62,0 +62,0 @@ ## Plugins |
22999
452