sokra / source-map-visualization

Just a simple hacky visualisation of SourceMaps
http://sokra.github.io/source-map-visualization
628 stars 77 forks source link

File contents are rendered sorted without sorting the corresponding mapping and file name #22

Open metatoaster opened 7 years ago

metatoaster commented 7 years ago

When dragging and dropping multiple files into the renderer, it appears that the contents of the sources are ordered alphabetically, but the filename heading and mapping are unsorted. I have a minimum example in the form of a gist, simply clone and use a file manager to drag and drop the contents onto a running instance of the visualization, and see that under the file2.js heading the contents of file1.js with mapping of file2.js is shown, and vice versa.

image