Codebase list python-csscompressor / 7c76b2c
preserve_exclamation_comments documented in method docstrings Tayyeb 8 years ago
1 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
467467 than, say 8000 characters, are checked in. This option is used in
468468 that case to split long lines after a specific column.
469469
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
470476 Returns a ``str`` object with compressed CSS.
471477 """
472478
492498 When ``max_rules_per_file`` is a positive number, the function *always* returns
493499 a list of ``str`` objects, each limited to contain less than the passed number
494500 of rules.
501
502 - preserve_exclamation_comments : boolean = True
503 Has the same meaning as for "compress()" function.
504
495505
496506 Always returns a ``list`` of ``str`` objects with compressed CSS.
497507 """