MCPcopy Index your code
hub / github.com/codecombat/codecombat / checkAndRegisterHocModalInterval

Function checkAndRegisterHocModalInterval

app/core/initialize.js:393–397  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

391// We refresh the browser between levels due to memory leak issues
392// hence should register hoc progress modal check after every refresh if relevant
393var checkAndRegisterHocModalInterval = function () {
394 if (window.sessionStorage != null ? window.sessionStorage.getItem('hoc_progress_modal_time') : undefined) { // set in unit map
395 return utils.registerHocProgressModalCheck()
396 }
397}
398
399// Check if the crash happened, and log it on datadog. Note that the application should be initialized before this.
400var checkAndLogBrowserCrash = function () {

Callers 1

initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected