Part of lp.scripts.utilities.js.jsbuild View In Hierarchy
It uses the cssutils.CSSParser to convert all url() instances to the new location, and minify the result.
Method | __init__ | Undocumented |
Method | get_comment | Return a string wrapped in a comment to be include in the output. |
Method | get_file_header | Return a string to include before outputting a file. |
Method | filter_file_content | URLs are made relative to the target and the CSS is minified. |
Inherited from ComboFile:
Method | needs_update | Return True when the file needs to be updated. |
Method | log | Undocumented |
Method | update | Update the file from its source files. |
Can be used to help annotate the output file.
Can be used by subclasses to output a file reference in the combined file. Default implementation returns nothing.