aboutsummaryrefslogtreecommitdiff
path: root/node_modules/clean-css/lib/writer/simple.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/clean-css/lib/writer/simple.js')
-rw-r--r--node_modules/clean-css/lib/writer/simple.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/node_modules/clean-css/lib/writer/simple.js b/node_modules/clean-css/lib/writer/simple.js
index 21e7f88a7..20fde2a29 100644
--- a/node_modules/clean-css/lib/writer/simple.js
+++ b/node_modules/clean-css/lib/writer/simple.js
@@ -1,7 +1,5 @@
var all = require('./helpers').all;
-var lineBreak = require('os').EOL;
-
function store(serializeContext, token) {
var value = typeof token == 'string' ?
token :
@@ -15,8 +13,8 @@ function store(serializeContext, token) {
function wrap(serializeContext, value) {
if (serializeContext.column + value.length > serializeContext.format.wrapAt) {
- track(serializeContext, lineBreak);
- serializeContext.output.push(lineBreak);
+ track(serializeContext, serializeContext.format.breakWith);
+ serializeContext.output.push(serializeContext.format.breakWith);
}
}