mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-28 13:50:07 -04:00
Added the else statement. This can be used to make pull request #253 more advanced.
This commit is contained in:
parent
1f486c3cb6
commit
abbd576b4d
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ module.exports = class HomeView extends View
|
|||
href[href.length-1] = lastLevel if href.length isnt 0
|
||||
href = href.join("/")
|
||||
playLink.attr("href", href)
|
||||
else
|
||||
console.log("TODO: Insert here code to get latest level played from the database. If this can't be found, we just let the user play the first level.")
|
||||
|
||||
initCanvas: =>
|
||||
@stage = new createjs.Stage($('#beginner-campaign canvas', @$el)[0])
|
||||
|
|
Loading…
Add table
Reference in a new issue