SamSaffron/MiniProfiler — pull request #29 by growse (2012-04-12 09:40:32+00:00)
Title: Addition of useExistingjQuery parameter to RenderIncludes()

Following on from http://stackoverflow.com/questions/10105231/why-does-miniprofiler-load-jquery-1-7-1-even-though-ive-already-loaded-that-on I've made some changes to RenderIncludes that now takes an optional parameter. I also added the relevant setting in the Settings file.

The javascript feels a bit hacky, but I couldn't figure out a better way of messing with the format string based on the value of a bool. You may have a much better way of doing this.

Hopefully this is useful.