source:
frontend/node_modules/clean-css/lib/optimizer/level-2/properties/is-mergeable-shorthand.js
| Last change on this file was 9af201e, checked in by , 13 days ago | |
|---|---|
|
|
| File size: 256 bytes | |
| Line | |
|---|---|
| 1 | var Marker = require('../../../tokenizer/marker'); |
| 2 | |
| 3 | function isMergeableShorthand(shorthand) { |
| 4 | if (shorthand.name != 'font') { |
| 5 | return true; |
| 6 | } |
| 7 | |
| 8 | return shorthand.value[0][1].indexOf(Marker.INTERNAL) == -1; |
| 9 | } |
| 10 | |
| 11 | module.exports = isMergeableShorthand; |
Note:
See TracBrowser
for help on using the repository browser.
