SamSaffron/MiniProfiler — pull request #119 by JSkimming (2013-02-15 16:53:40+00:00)
Title: Reordered includes and added mandatory attributes for results-index view

Prior changes have changed the way includes.js is used, in the results view the script include has additional attributes defining the profiles to display. These changes seem to have broken the results-index view.

The results-index view failed because:

- jquery.tmpl.js requires MiniProfiler.jQuery from includes.js
- includes.js looks for a script with the id='mini-profiler'
- the attribute data-ids is mandatory

This is a temporary fix as I suspect a correct fix would be to change the JavaScript to handle the absence of these attributes and continue initialisation.