This fixes jquery/testswarm#197. These are currently removed from the TestSwarm injector, however this is jQuery specific, and should be done from this end instead.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -316,6 +316,11 @@ var Globals = (function() { | ||
} | ||
}; | ||
|
||
QUnit.done(function() { | ||
// Remove out own fixtures outside #qunit-fixture | ||
jQuery( "#nothiddendiv, #loadediframe, #dl" ).remove(); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Krinkle
Author
Member
|
||
}); | ||
|
||
// jQuery-specific QUnit.reset | ||
QUnit.reset = function() { | ||
|
||
Can you describe what's going on here? It's not removing all of our elements (see test/index.html), but it is hitting most of them. Should we make this
jQuery("#qunit ~ *").remove()
?