preserve_exclamation_comments documented in method docstrings
Tayyeb
8 years ago
467 | 467 | than, say 8000 characters, are checked in. This option is used in |
468 | 468 | that case to split long lines after a specific column. |
469 | 469 | |
470 | - preserve_exclamation_comments : boolean = True | |
471 | Some stylesheets contain /*! ... */ comment block which used for copyright | |
472 | notices or else. By default compress dont remove them like other comment | |
473 | blocks. It will lead to bigger file size. but once you decide to remove | |
474 | them just set this parameter to False. | |
475 | ||
470 | 476 | Returns a ``str`` object with compressed CSS. |
471 | 477 | """ |
472 | 478 | |
492 | 498 | When ``max_rules_per_file`` is a positive number, the function *always* returns |
493 | 499 | a list of ``str`` objects, each limited to contain less than the passed number |
494 | 500 | of rules. |
501 | ||
502 | - preserve_exclamation_comments : boolean = True | |
503 | Has the same meaning as for "compress()" function. | |
504 | ||
495 | 505 | |
496 | 506 | Always returns a ``list`` of ``str`` objects with compressed CSS. |
497 | 507 | """ |