lib/JSLitmus.js
function() {
      if (!JSLitmus.currentTest) {
        var test = JSLitmus._queue.shift();
        if (test) {
          jsl.$('stop_button').disabled = false;
          JSLitmus.currentTest = test;
          test.run();
          JSLitmus.renderTest(test);
          if (JSLitmus.onTestStart) JSLitmus.onTestStart(test);
        } else {
          jsl.$('stop_button').disabled = true;
          JSLitmus.renderChart();
        }
      }
    }
function() {
      if (!JSLitmus.currentTest) {
        var test = JSLitmus._queue.shift();
        if (test) {
          jsl.$('stop_button').disabled = false;
          JSLitmus.currentTest = test;
          test.run();
          JSLitmus.renderTest(test);
          if (JSLitmus.onTestStart) JSLitmus.onTestStart(test);
        } else {
          jsl.$('stop_button').disabled = true;
          JSLitmus.renderChart();
        }
      }
    }
function ( ) { if ( ! JSLitmus . currentTest ) { var test = JSLitmus . _queue . shift ( ) ; if ( test ) { jsl . $ ( 'stop_button' ) . disabled = false ; JSLitmus . currentTest = test ; test . run ( ) ; JSLitmus . renderTest ( test ) ; if ( JSLitmus . onTestStart ) JSLitmus . onTestStart ( test ) ; } else { jsl . $ ( 'stop_button' ) . disabled = true ; JSLitmus . renderChart ( ) ; } } }
Run the next test in the run queue
Run the next test in the run queue