Fix typos

This commit is contained in:
Catherine Snow
2017-12-04 17:19:32 -06:00
committed by Gaël Métais
parent 7f687051f8
commit a20c5677b4
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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();