You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
parttimejob/node_modules/clean-css/lib/optimizer/level-2/properties/has-inherit.js

10 lines
202 B

4 weeks ago
function hasInherit(property) {
for (var i = property.value.length - 1; i >= 0; i--) {
if (property.value[i][1] == 'inherit') { return true; }
}
return false;
}
module.exports = hasInherit;