Init
This commit is contained in:
commit
4e066bffc9
10017 changed files with 1322084 additions and 0 deletions
11
node_modules/clean-css/lib/optimizer/remove-unused.js
generated
vendored
Normal file
11
node_modules/clean-css/lib/optimizer/remove-unused.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
function removeUnused(properties) {
|
||||
for (var i = properties.length - 1; i >= 0; i--) {
|
||||
var property = properties[i];
|
||||
|
||||
if (property.unused) {
|
||||
property.all.splice(property.position, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = removeUnused;
|
||||
Loading…
Reference in a new issue