Download builder CDN script/links issue

Download builder CDN script/links issue

jrizzi1jrizzi1 Posts: 44Questions: 12Answers: 3

on my working site I replaced my individual listed CDN elements for a bootstrap integration with the new css/script links generated by the download builder, but it does not seem to be working. It seems that it does not include the necessary bootstrap integration files, as the console errors are all bootstrap related

I also noticed it is including jszip and pdfmake even though they are marked as do not include

example of the CDN links generated by selecting jquery, bootstrap, include library, and datatables

<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/r/bs-3.3.5/jq-2.1.4,jszip-2.5.0,pdfmake-0.1.18,dt-1.10.8/datatables.min.css"/>
<script type="text/javascript" src="https://cdn.datatables.net/r/bs-3.3.5/jq-2.1.4,jszip-2.5.0,pdfmake-0.1.18,dt-1.10.8/datatables.min.js"></script>

@allan you did respond
"They've problem been marked to be included, and then Buttons marked to be not included afterwards. The download builder will include libraries, even if their parent is marked not to be included."

So i did solve that issue, but the issue remains the bootstrap errors out , seems to think it is not included

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,266Questions: 1Answers: 10,424 Site admin
    edited August 2015

    It looks like the issue is that Bootstrap is being loaded before jQuery. Since Bootstrap's JS depends upon jQuery, that isn't good.

    Thanks for letting me know about that. I'll look into the best way of fixing it and post back here when done.

    Allan

  • allanallan Posts: 63,266Questions: 1Answers: 10,424 Site admin

    Hi,

    This has been resolved now. jQuery will always be included first if it is selected.

    Allan

  • jrizzi1jrizzi1 Posts: 44Questions: 12Answers: 3

    @allan I just tried this again, and its including bootstrap first still
    here is the link generated by downloader:

    https://cdn.datatables.net/r/bs-3.3.5/jq-2.1.4,dt-1.10.8/datatables.min.js

  • allanallan Posts: 63,266Questions: 1Answers: 10,424 Site admin
    Answer ✓

    Could you try clearing your browser's cache please? The file on the server does look correct.

    Allan

  • jrizzi1jrizzi1 Posts: 44Questions: 12Answers: 3

    works great, cache was the culprit, thanks!

This discussion has been closed.