mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
* Add Bootstrap Extension * Rename main.yml * Artifact Upload * Fix Bootstrap Reference Error * BootstrapTreeProcessor * getiterator removed * keys function * Style Images * Update docs_build.yml * Added Meta Files * Template Get * Fix Page Ref * Update BASE_URL * Sort Schemas * Add Sitemaps * Add favicons, open-graph, and setup guide * Update Setup.md * Update .gitignore * Update Setup.md * Use _blank on external links * Restructured Docs * Fix Links * Added XML Schemas * Name XML Schemas * Improved Best Practices * Add Logs For Static Files * Make docs build happen on PR
14 lines
212 B
Python
14 lines
212 B
Python
from rjsmin import jsmin
|
|
|
|
from lib.Content.StaticItem import MinifiedStaticItem
|
|
|
|
|
|
class JSStaticItem(MinifiedStaticItem):
|
|
|
|
extensions = ('js',)
|
|
|
|
def minify(self, content):
|
|
return jsmin(content)
|
|
|
|
|