Files
ETB/ETB-FrontEnd/node_modules/clean-css/lib/optimizer/configuration/properties/understandable.js
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

16 lines
364 B
JavaScript

var sameVendorPrefixes = require('../../vendor-prefixes').same;
function understandable(validator, value1, value2, _position, isPaired) {
if (!sameVendorPrefixes(value1, value2)) {
return false;
}
if (isPaired && validator.isVariable(value1) !== validator.isVariable(value2)) {
return false;
}
return true;
}
module.exports = understandable;