mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Translate level wrapper code
This commit is contained in:
parent
605169e792
commit
c33f86768a
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ module.exports = class Spell
|
|||
fallingBack = true
|
||||
try
|
||||
@originalSource = _.template @originalSource, context
|
||||
@wrapperCode = _.template @wrapperCode, context
|
||||
catch e
|
||||
console.error "Couldn't create example code template of", @originalSource, "\nwith context", context, "\nError:", e
|
||||
|
||||
|
|
Loading…
Reference in a new issue