main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 6 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
386 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | var 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 |
|
---|
| 15 | module.exports = plugin;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.