jquery/qunit — pull request #292 by alexjeffburke (2012-07-28 21:45:49+00:00)
Title: Remove conditional codepath based on jQuery presence from reset().

Though qunit should no longer depend on jQuery I found one codepath in the library thats still conditionally checks for the existence of jQuery and uses the html() utility method if available. Otherwise it falls back to assigning to innerHTML.

I propose removing this conditional codepath which creates two different codepaths dependent on the availability of an separate library. I actually hit this because I mocked a jQuery object and suddenly hit an internal exception.

Using innerHTML directly should be safe and all qunit tests continue to pass with this change.