MCPcopy Create free account
hub / github.com/codecombat/codecombat / noSolution

Function noSolution

app/core/store/modules/game.js:180–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 codeLanguage = (left = utils.getQueryVariable('codeLanguage')) != null ? left : 'javascript'
179 } // Belongs in Vuex eventually
180 const noSolution = function () {
181 const text = `No ${codeLanguage} solution available for ${rootState.game.level.name}.`
182 noty({ text, timeout: 3000 })
183 return console.error(text)
184 }
185
186 source = getters.getSolutionSrc(codeLanguage)
187

Callers 1

autoFillSolutionFunction · 0.85

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected