From: Jakub Pawlowicz Date: Fri, 10 Oct 2014 06:47:20 +0000 (+0100) Subject: Simplifies `SelectorsOptimizer` instantiation. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=8164cd8a9183e475df157fca49f25a1249f908eb;p=clean-css.git Simplifies `SelectorsOptimizer` instantiation. --- diff --git a/lib/clean.js b/lib/clean.js index 3514a8d4..d8cc23c2 100644 --- a/lib/clean.js +++ b/lib/clean.js @@ -116,13 +116,7 @@ function minify(data) { var urlsProcessor = new UrlsProcessor(); var urlRebase = new UrlRebase(options, context); - var selectorsOptimizer = new SelectorsOptimizer({ - keepBreaks: options.keepBreaks, - advanced: options.advanced, - compatibility: options.compatibility, - aggressiveMerging: options.aggressiveMerging, - roundingPrecision: options.roundingPrecision - }, context); + var selectorsOptimizer = new SelectorsOptimizer(options, context); var run = function (processor, action, enabled) { if (enabled === false)