JavaScript minification¶
-
flexx.util.minify.
minify
(code, remove_whitespace=False)¶ Very basic minification of JavaScript code. Will likely support more advanced minifcation in the future.
パラメータ: - code (str) – the JavaScript code to minify.
- remove_whitespace (bool) – if True, removes all non-functional whitespace. Otherwise remove all trailing whitespace and indents using tabs to preserve space. Default False.