Save the fixture after the enhancement, then start

This commit is contained in:
Ghislain Seguin 2012-01-18 23:12:37 -08:00
parent 0a81d6d463
commit e4453aceb4

View file

@ -14,7 +14,13 @@
function loadSeq( seq, i ){
if( !seq[i] ){
QUnit.start();
$( document ).ready( function() {
var $fixture = $( '#qunit-fixture' );
if ( $fixture.length ) {
QUnit.config.fixture = $fixture.html();
}
QUnit.start();
});
return;
}