mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-29 02:25:37 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
59741a68b1
2 changed files with 9 additions and 2 deletions
|
@ -17,7 +17,7 @@ module.exports = class PaymentsView extends RootView
|
||||||
|
|
||||||
constructor: (options) ->
|
constructor: (options) ->
|
||||||
super(options)
|
super(options)
|
||||||
@payments = new CocoCollection([], { url: '/db/payment', model: Payment })
|
@payments = new CocoCollection([], { url: '/db/payment', model: Payment, comparator:'_id' })
|
||||||
@supermodel.loadCollection(@payments, 'payments')
|
@supermodel.loadCollection(@payments, 'payments')
|
||||||
|
|
||||||
getRenderData: ->
|
getRenderData: ->
|
||||||
|
|
|
@ -205,7 +205,7 @@ module.exports = class WorldMapView extends RootView
|
||||||
@adjustLevelInfoPosition e
|
@adjustLevelInfoPosition e
|
||||||
@endHighlight()
|
@endHighlight()
|
||||||
else
|
else
|
||||||
if @requiresSubscription
|
if @requiresSubscription and not @levelStatusMap[level.id] and not level.adventurer
|
||||||
modal = if me.get('anonymous') then AuthModal else SubscribeModal
|
modal = if me.get('anonymous') then AuthModal else SubscribeModal
|
||||||
@openModalView new modal()
|
@openModalView new modal()
|
||||||
else if $(e.target).attr('disabled')
|
else if $(e.target).attr('disabled')
|
||||||
|
@ -775,6 +775,7 @@ forest = [
|
||||||
continue: 'touch-of-death'
|
continue: 'touch-of-death'
|
||||||
x: 47
|
x: 47
|
||||||
y: 71
|
y: 71
|
||||||
|
adventurer: true
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name: 'Touch of Death'
|
name: 'Touch of Death'
|
||||||
|
@ -786,6 +787,7 @@ forest = [
|
||||||
continue: 'bonemender'
|
continue: 'bonemender'
|
||||||
x: 52
|
x: 52
|
||||||
y: 70
|
y: 70
|
||||||
|
adventurer: true
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name: 'Bonemender'
|
name: 'Bonemender'
|
||||||
|
@ -797,6 +799,7 @@ forest = [
|
||||||
continue: 'coinucopia'
|
continue: 'coinucopia'
|
||||||
x: 58
|
x: 58
|
||||||
y: 67
|
y: 67
|
||||||
|
adventurer: true
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -853,6 +856,7 @@ forest = [
|
||||||
continue: 'multiplayer-treasure-grove'
|
continue: 'multiplayer-treasure-grove'
|
||||||
x: 80
|
x: 80
|
||||||
y: 88
|
y: 88
|
||||||
|
adventurer: true
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name: 'Siege of Stonehold'
|
name: 'Siege of Stonehold'
|
||||||
|
@ -865,6 +869,7 @@ forest = [
|
||||||
disabled: not me.isAdmin()
|
disabled: not me.isAdmin()
|
||||||
x: 85.5
|
x: 85.5
|
||||||
y: 83.5
|
y: 83.5
|
||||||
|
adventurer: true
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name: 'Multiplayer Treasure Grove'
|
name: 'Multiplayer Treasure Grove'
|
||||||
|
@ -874,6 +879,7 @@ forest = [
|
||||||
description: 'Mix collection, flags, and combat in this multiplayer coin-gathering arena.'
|
description: 'Mix collection, flags, and combat in this multiplayer coin-gathering arena.'
|
||||||
x: 56.5
|
x: 56.5
|
||||||
y: 20
|
y: 20
|
||||||
|
adventurer: true
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name: 'Dueling Grounds'
|
name: 'Dueling Grounds'
|
||||||
|
@ -883,6 +889,7 @@ forest = [
|
||||||
description: 'Battle head-to-head against another hero in this basic beginner combat arena.'
|
description: 'Battle head-to-head against another hero in this basic beginner combat arena.'
|
||||||
x: 83
|
x: 83
|
||||||
y: 23
|
y: 23
|
||||||
|
adventurer: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue