Fix typos
This commit is contained in:
committed by
Gaël Métais
parent
7f687051f8
commit
a20c5677b4
@@ -296,7 +296,7 @@ var FileMinifier = function() {
|
||||
return deferred.promise;
|
||||
}
|
||||
|
||||
// Avoid loosing time trying to compress some JS libraries known as already compressed
|
||||
// Avoid losing time trying to compress some JS libraries known as already compressed
|
||||
function isKnownAsMinified(url) {
|
||||
var result = false;
|
||||
|
||||
@@ -322,7 +322,7 @@ var FileMinifier = function() {
|
||||
return result;
|
||||
}
|
||||
|
||||
// Avoid loosing some trying to compress JS files if they alreay look minified
|
||||
// Avoid losing some trying to compress JS files if they already look minified
|
||||
// by counting the number of lines compared to the total size.
|
||||
// Less than 2KB per line is suspicious
|
||||
function looksAlreadyMinified(code) {
|
||||
@@ -351,4 +351,4 @@ var FileMinifier = function() {
|
||||
};
|
||||
};
|
||||
|
||||
module.exports = new FileMinifier();
|
||||
module.exports = new FileMinifier();
|
||||
|
||||
Reference in New Issue
Block a user