parcoursup/node_modules/clean-css/lib/optimizer/level-2/properties/overrides-non-component-shorthand.js

10 lines
359 B
JavaScript
Raw Normal View History

2023-03-05 13:23:23 +01:00
var configuration = require('../../configuration');
function overridesNonComponentShorthand(property1, property2) {
return property1.name in configuration
&& 'overridesShorthands' in configuration[property1.name]
&& configuration[property1.name].overridesShorthands.indexOf(property2.name) > -1;
}
module.exports = overridesNonComponentShorthand;