Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function rerunStep3(processorConfig) {
// make sure we can scroll enough to hide the loader/logo
d3.select(".test-sets").style('min-height', "100%");
var loadConfig = processorConfig.loaded.config;
var loaded = Processor.load(loadConfig);
processorConfig.loaded = loaded;
renderer = Processor.run(processorConfig);
// make sure the tests ares still scrolled to the top
var topBar = d3.select(".top-bar").property("scrollHeight");
var offsetTop = d3.select("#info-top-bar").property("offsetTop") - topBar;
var column1 = d3.select(".column-1");
column1.node().scrollTop = offsetTop;
}
function renderStep3(processorConfig) {
// rerun if there's more rows
if (rerunFlag) {
rerunStep3(processorConfig);
return;
}
// set the flag to true after the first run if there's more rows
if (processorConfig.loaded.sampleProgress < 1) rerunFlag = true;
// make sure we can scroll enough to hide the loader/logo
d3.select(".test-sets").style('min-height', "100%");
// var loaded = Processor.load(loadConfig);
// processorConfig.loaded = loaded;
renderer = Processor.run(processorConfig);
// make sure the tests ares still scrolled to the top
var topBar = d3.select(".top-bar").property("scrollHeight");
var offsetTop = d3.select("#info-top-bar").property("offsetTop") - topBar;
var column1 = d3.select(".column-1");
column1.node().scrollTop = offsetTop;
}