This repository has been archived on 2026-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
todo/client/node_modules/clean-css/lib/optimizer/configuration/properties/understandable.js

16 lines
364 B
JavaScript
Raw Normal View History

2025-06-13 06:04:40 +00:00
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;