You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 17, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+17-13Lines changed: 17 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,46 +38,50 @@ grunt.initConfig({
38
38
39
39
### Options
40
40
41
-
#### options.separator
42
-
Type: `String`
43
-
Default value: `', '`
41
+
All options are passed directly to css-flip's `flip()` function.
42
+
None of the options are required.
43
+
44
+
#### options.compress
45
+
Type: `Boolean`
46
+
Default value: `false`
44
47
45
-
A string value that is used to do something with whatever.
48
+
Whether to slightly compress output. Some newlines and indentation are removed. Comments stay intact.
46
49
47
-
#### options.punctuation
50
+
#### options.indent
48
51
Type: `String`
49
-
Default value: `'.'`
52
+
Default value: `' '` (two spaces)
50
53
51
-
A string value that is used to do something else with whatever else.
54
+
String value to use for 1 level of indentation in the output.
52
55
53
56
### Usage Examples
54
57
55
58
#### Default Options
56
-
In this example, the default options are used to do something with whatever. So if the `testing` file has the content `Testing` and the `123` file had the content `1 2 3`, the generated result would be `Testing, 1 2 3.`
59
+
In this example, two CSS files are flipped using css-flip's default settings.
In this example, custom options are used to do something else with whatever else. So if the `testing` file has the content `Testing` and the `123` file had the content `1 2 3`, the generated result in this case would be `Testing: 1 2 3 !!!`
74
+
In this example, the resulting flipped CSS files will also be slightly compressed using css-flip's `compress` option.
0 commit comments