source:
frontend/node_modules/clean-css/lib/optimizer/level-2/properties/has-inherit.js
| Last change on this file was 9af201e, checked in by , 2 weeks ago | |
|---|---|
|
|
| File size: 202 bytes | |
| Line | |
|---|---|
| 1 | function hasInherit(property) { |
| 2 | for (var i = property.value.length - 1; i >= 0; i--) { |
| 3 | if (property.value[i][1] == 'inherit') { return true; } |
| 4 | } |
| 5 | |
| 6 | return false; |
| 7 | } |
| 8 | |
| 9 | module.exports = hasInherit; |
Note:
See TracBrowser
for help on using the repository browser.
