mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 18:52:50 +00:00
updated bunch of file paths and changed the way posts are loaded
This commit is contained in:
21
node_modules/clean-css/lib/properties/populate-components.js
generated
vendored
Normal file
21
node_modules/clean-css/lib/properties/populate-components.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
var compactable = require('./compactable');
|
||||
|
||||
function populateComponents(properties, validator) {
|
||||
for (var i = properties.length - 1; i >= 0; i--) {
|
||||
var property = properties[i];
|
||||
var descriptor = compactable[property.name];
|
||||
|
||||
if (descriptor && descriptor.shorthand) {
|
||||
property.shorthand = true;
|
||||
property.dirty = true;
|
||||
property.components = descriptor.breakUp(property, compactable, validator);
|
||||
|
||||
if (property.components.length > 0)
|
||||
property.multiplex = property.components[0].multiplex;
|
||||
else
|
||||
property.unused = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = populateComponents;
|
||||
Reference in New Issue
Block a user