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:
438 bytes
|
Line | |
---|
1 | var OptimizationLevel = require('../../../options/optimization-level').OptimizationLevel;
|
---|
2 |
|
---|
3 | var plugin = {
|
---|
4 | level1: {
|
---|
5 | property: function outline(_rule, property, options) {
|
---|
6 | var values = property.value;
|
---|
7 |
|
---|
8 | if (!options.level[OptimizationLevel.One].optimizeOutline) {
|
---|
9 | return;
|
---|
10 | }
|
---|
11 |
|
---|
12 | if (values.length == 1 && values[0][1] == 'none') {
|
---|
13 | values[0][1] = '0';
|
---|
14 | }
|
---|
15 | }
|
---|
16 | }
|
---|
17 | };
|
---|
18 |
|
---|
19 | module.exports = plugin;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.