DataTables Download builder not consistent issue.
DataTables Download builder not consistent issue.
Tester2017
Posts: 145Questions: 23Answers: 17
in DataTables
@allan, In my project I work with the following constructed file (minified):
<script type="text/javascript" src="https://cdn.datatables.net/v/bs-3.3.7/jq-2.2.4/jszip-3.1.3/pdfmake-0.1.27/dt-1.10.15/b-1.3.1/b-colvis-1.3.1/b-flash-1.3.1/b-html5-1.3.1/b-print-1.3.1/r-2.1.1/sc-1.4.2/se-1.2.2/datatables.min.js"></script>
Opening this file gives me the url to rebuild this file:
https://datatables.net/download/#bs-3.3.7/jq-2.2.4/jszip-3.1.3/pdfmake-0.1.27/dt-1.10.15/b-1.3.1/b-colvis-1.3.1/b-flash-1.3.1/b-html5-1.3.1/b-print-1.3.1/r-2.1.1/sc-1.4.2/se-1.2.2
But if a follow this url for rebuilding the file it is not giving me the same content:
<script type="text/javascript" src="https://cdn.datatables.net/v/bs/jq-3.2.1/jq-3.2.1/jszip-2.5.0/dt-1.10.16/b-1.4.2/b-colvis-1.4.2/b-flash-1.4.2/b-html5-1.4.2/b-print-1.4.2/r-2.2.0/sc-1.4.3/datatables.min.js"></script>
And this leads to some errors in my project.
My reason to rebuild the file was that I needed to debug some issue, so I needed a not minified file.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Looks like a bug in the download builder I'm afraid. Click one of the other styles, then select Bootstrap 3 again, and then finally below that section select the Boostrap 3 library to be included in the build.
Thanks for letting me know about that.
Allan
Also, the download builder actually will always build both the min and non-min versions of the files. So you can just remove the
.min
from the URL if you want exactly the same versions etc.Allan
OK, that's perfect. Thanks.