Create seperate directive
This commit is contained in:
parent
6d375e33bf
commit
67e466ee11
7 changed files with 37 additions and 20621 deletions
|
@ -162,15 +162,6 @@ def render_page_template(name, route_data=None, **kwargs):
|
|||
library_scripts = []
|
||||
main_scripts = ['dist/quay-frontend.min.js']
|
||||
|
||||
# TODO(Ian): Ordering of library script matters?
|
||||
library_scripts.remove('lib/ngReact.min.js')
|
||||
library_scripts.remove('lib/react.js')
|
||||
library_scripts.remove('lib/react-dom.js')
|
||||
|
||||
library_scripts.append('lib/react.js')
|
||||
library_scripts.append('lib/react-dom.js')
|
||||
library_scripts.append('lib/ngReact.min.js')
|
||||
|
||||
use_cdn = app.config.get('USE_CDN', True)
|
||||
if request.args.get('use_cdn') is not None:
|
||||
use_cdn = request.args.get('use_cdn') == 'true'
|
||||
|
|
Reference in a new issue