INNER CODE UNIT · JavaScript
currentHiddenCell
moderndive/ModernDive_book · _extensions/webr/qwebr-cell-initialization.js:36
currentHiddenCell = currentHiddenCell + 1;
const formattedMessage = `Evaluating hidden cell ${currentHiddenCell} out of ${nHiddenCells}`;
// Update the document status header
if (qwebrShowStartupMessage) {
qwebrUpdateStatusHeader(formattedMessage);
}
// Display the update in non-active areas
qwebrUpdateStatusMessage(formattedMessage);
// Extract details on the active cell
const evalType = entry.options.context;
const cellCode = entry.code;
const qwebrCounter = entry.id;
if (['output', 'setup'].includes(evalType)) {
// Disable further global status updates