mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Move popups to correct loading order
Move away from yeeted Ajax code to fetch
This commit is contained in:
parent
e2bf5ed4e2
commit
ad547c4ccf
5 changed files with 31 additions and 46 deletions
|
@ -58,12 +58,9 @@ def create_app(test_config=None):
|
|||
app.config.from_mapping(test_config)
|
||||
|
||||
# Load JS assets
|
||||
js_pre = Bundle('js/pre/*.js', output='gen/pre_packed.js')
|
||||
js_post = Bundle('js/post/*.js', output='gen/post_packed.js')
|
||||
styles = Bundle('sass/*.sass', filters='libsass', output='gen/styles.css')
|
||||
assets.register('js_pre', js_pre)
|
||||
assets.register('js_post', js_post)
|
||||
assets.register('styles', styles)
|
||||
assets.register('js_pre', Bundle('js/pre/*.js', output='gen/pre_packed.js'))
|
||||
assets.register('js_post', Bundle('js/post/*.js', output='gen/post_packed.js'))
|
||||
assets.register('styles', Bundle('sass/*.sass', filters='libsass', output='gen/styles.css'))
|
||||
|
||||
# Error handlers, if the error is not a HTTP error, return 500
|
||||
@app.errorhandler(Exception)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue