Replace minified with standard chart.js to make bukuserver

DFSG compatible.
This commit is contained in:
SZ Lin (林上智) 2018-08-29 10:44:02 +08:00
parent b3638d8c7e
commit 7a03a0c455
3 changed files with 14385 additions and 11 deletions

14384
bukuserver/static/bukuserver/js/Chart.js vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -217,7 +217,7 @@
{% block tail %} {% block tail %}
{{ super() }} {{ super() }}
<script src="{{url_for('static', filename='bukuserver/js/Chart.min.js')}}"></script> <script src="{{url_for('static', filename='bukuserver/js/Chart.js')}}"></script>
<script> <script>
var ctx = document.getElementById("mostCommonChart").getContext('2d'); var ctx = document.getElementById("mostCommonChart").getContext('2d');
var netlocChart = new Chart(ctx, { var netlocChart = new Chart(ctx, {