amanda.hinchman-dominguez
02/25/2019, 4:18 PMbutton("Rerun") {
setOnAction {
pages.forEach {page ->
if (page.dirtyState) {
page.file.printWriter().use {
out -> out.println(page.script)
}
}
}
runAsync {
page.results = scope.registry.getResultOrExec(page.pageName).toString()
} ui {
evaluationText = text(page.results)
}
}
}