mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
Merge branch 'develop' of github.com:ether/etherpad-lite into hook_for_exportHTMLStyles
This commit is contained in:
commit
fdc930de3d
2 changed files with 3 additions and 4 deletions
|
@ -23,7 +23,7 @@ var ERR = require("async-stacktrace");
|
|||
var settings = require('./Settings');
|
||||
var async = require('async');
|
||||
var fs = require('fs');
|
||||
var CleanCSS = require('clean-css');
|
||||
var cleanCSS = require('clean-css');
|
||||
var jsp = require("uglify-js").parser;
|
||||
var pro = require("uglify-js").uglify;
|
||||
var path = require('path');
|
||||
|
@ -411,8 +411,7 @@ function compressJS(values)
|
|||
function compressCSS(values)
|
||||
{
|
||||
var complete = values.join("\n");
|
||||
var cleanCSS = new CleanCSS({}).minify(complete);
|
||||
return cleanCSS;
|
||||
return cleanCSS.process(complete);
|
||||
}
|
||||
|
||||
exports.minify = minify;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue