Download builder and bootstrap.css.map file

Download builder and bootstrap.css.map file

bvelasquezbvelasquez Posts: 28Questions: 7Answers: 0

I used the download builder and included the following:

/* To rebuild or modify this file with the latest versions of the included software please visit:
https://datatables.net/download/#bs-3.3.7/jq-2.2.4/moment-2.13.0/ed-mask-1.13.4/select2-4.0.1/selectize-0.12.1/dt-1.10.13/b-1.2.4/b-colvis-1.2.4/b-html5-1.2.4/b-print-1.2.4/e-1.6.1/ef-display-1.5.6/ef-mask-1.5.6/ef-select2-1.5.6/ef-selectize-1.5.6/ef-title-1.5.6/fc-3.2.2/fh-3.1.2/kt-2.2.0/r-2.1.1/sc-1.4.2/se-1.2.0

Included libraries:

Bootstrap 3.3.7, jQuery 2.2.4, Moment 2.13.0, jQuery Mask 1.13.4, Select2 4.0.1, Selectize 0.12.1, DataTables 1.10.13, Buttons 1.2.4, Column visibility 1.2.4, HTML5 export 1.2.4, Print view 1.2.4, Editor 1.6.1, Field type - Display 1.5.6, Field type - Mask 1.5.6, Field type - Select2 1.5.6, Field type - Selectize 1.5.6, Field type - Title 1.5.6, FixedColumns 3.2.2, FixedHeader 3.1.2, KeyTable 2.2.0, Responsive 2.1.1, Scroller 1.4.2, Select 1.2.0

*/

I then downloaded the local file and referenced:

<link rel="stylesheet" type="text/css" href="DataTables/datatables.min.css"/>

All seems to be working well, but it seems the page is calling

DataTables/bootstrap.css.map

and it can't find it. I noticed it when I was checking through Fiddler.

Any idea why and how to fix it?

This question has an accepted answers - jump to answer

Answers

  • bvelasquezbvelasquez Posts: 28Questions: 7Answers: 0

    Looks like this issue is browser specific. Only Chrome produces it.

    I am currently using Chrome 57.0.2987.98 (64-bit)

    I tested the same page on IE 11 and FF 52.0.2 (32-bit) and didn't note the issue.

  • allanallan Posts: 63,192Questions: 1Answers: 10,412 Site admin
    Answer ✓

    The map file is used by the inspectors built into browsers to convert from minified files to the original source, so you can determine where the original source code is (its a nightmare debugging minified code!). It sounds like only Chrome looks for the min files by default - or perhaps it is only Chrome that reports an error when it can't be found.

    The map file isn't actually used to make the code function at all - it is purely debugging, and for that reason the download builder doesn't include it.

    I need to update the download builder to have it strip the mapping comment out of bootstrap. Thanks for noting that!

    Allan

This discussion has been closed.