mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-24 05:31:57 +00:00
changes
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
"""JS/CSS Webpack bundles for theme."""
|
||||
|
||||
from flask_webpackext import WebpackBundle
|
||||
from flask import current_app
|
||||
|
||||
def theme():
|
||||
"""Returns module's webpack bundle.
|
||||
|
||||
This is a callable function in order to lazy load `current_app`
|
||||
and avoid working outside application context.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user