mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-13 22:49:51 -04:00
Removed my testing code for the GameMenuModal.
This commit is contained in:
parent
eecdbdbe17
commit
636a46ff00
1 changed files with 1 additions and 13 deletions
|
@ -3,10 +3,6 @@ template = require 'templates/home'
|
|||
WizardLank = require 'lib/surface/WizardLank'
|
||||
ThangType = require 'models/ThangType'
|
||||
Simulator = require 'lib/simulator/Simulator'
|
||||
Level = require 'models/Level'
|
||||
LevelSession = require 'models/LevelSession'
|
||||
|
||||
GameMenuModal = require 'views/game-menu/GameMenuModal'
|
||||
|
||||
{me} = require '/lib/auth'
|
||||
|
||||
|
@ -38,12 +34,4 @@ module.exports = class HomeView extends RootView
|
|||
e.preventDefault()
|
||||
e.stopImmediatePropagation()
|
||||
window.tracker?.trackEvent 'Homepage', Action: 'Play'
|
||||
window.open '/play', '_blank'
|
||||
|
||||
afterInsert: ->
|
||||
super(arguments...)
|
||||
level = new Level({_id: 'kounter-kithwise'})
|
||||
level.fetch()
|
||||
@listenToOnce level, 'sync', ->
|
||||
console.log 'opened level...'
|
||||
@openModalView(new GameMenuModal({level: level, session: new LevelSession(), supermodel: @supermodel}))
|
||||
window.open '/play', '_blank'
|
Loading…
Reference in a new issue