mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-24 21:13:35 -04:00
Translate level wrapper code
This commit is contained in:
parent
0364463f99
commit
cae5b6f489
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…
Add table
Add a link
Reference in a new issue