aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-31 14:42:57 +0300
committerGitHub2020-08-31 14:42:57 +0300
commit1e52ff393a768ecdbb266ccd735e6dbab7db5cfc (patch)
tree73a789689cf4b7d02ca2c2e34ee2f8f50a7c559b
parentd2bb95c5e169f1a616ebbea75bbe15b788b0fe70 (diff)
parent7e989aca00de3d259d8d7f6a5b11c300ead7e3d2 (diff)
downloadgenenetwork2-1e52ff393a768ecdbb266ccd735e6dbab7db5cfc.tar.gz
Merge pull request #430 from BonfaceKilz/Build/add-chroma-js
Build/add chroma js
-rw-r--r--test/requests/link_checker.py2
-rw-r--r--wqflask/wqflask/templates/correlation_matrix.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/test/requests/link_checker.py b/test/requests/link_checker.py
index 12057203..d29e5965 100644
--- a/test/requests/link_checker.py
+++ b/test/requests/link_checker.py
@@ -97,6 +97,8 @@ def check_packaged_js_files(args_obj, parser):
# Datatables plugins:
"/DataTablesExtensions/plugins/sorting/natural.js",
"/DataTablesExtensions/plugins/sorting/scientific.js",
+ # Other js libraries
+ "/chroma/chroma.min.js"
]
print("Checking links")
diff --git a/wqflask/wqflask/templates/correlation_matrix.html b/wqflask/wqflask/templates/correlation_matrix.html
index 4e17a0b2..5659dca7 100644
--- a/wqflask/wqflask/templates/correlation_matrix.html
+++ b/wqflask/wqflask/templates/correlation_matrix.html
@@ -132,7 +132,7 @@
<script language="javascript" type="text/javascript" src="/static/packages/underscore/underscore-min.js"></script>
<script language="javascript" type="text/javascript" src="/static/new/js_external/md5.min.js"></script>
<script type="text/javascript" src="/static/new/javascript/panelutil.js"></script>
- <script language="javascript" type="text/javascript" src="/static/new/js_external/chroma.js"></script>
+ <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='chroma/chroma.min.js') }}"></script>
<script language="javascript" type="text/javascript" src="/static/new/javascript/loadings_plot.js"></script>
<script type="text/javascript" src="/static/new/javascript/create_corr_matrix.js"></script>
<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTables/js/jquery.dataTables.min.js') }}"></script>