source: imaps-frontend/node_modules/clean-css/lib/optimizer/level-1/property-optimizers/box-shadow.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 386 bytes
Line 
1var plugin = {
2 level1: {
3 property: function boxShadow(_rule, property) {
4 var values = property.value;
5
6 // remove multiple zeros
7 if (values.length == 4 && values[0][1] === '0' && values[1][1] === '0' && values[2][1] === '0' && values[3][1] === '0') {
8 property.value.splice(2);
9 property.dirty = true;
10 }
11 }
12 }
13};
14
15module.exports = plugin;
Note: See TracBrowser for help on using the repository browser.