mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-01 03:16:56 -05:00
Fixed some indentation.
This commit is contained in:
parent
974e5e1b24
commit
9bc8ae11da
1 changed files with 5 additions and 5 deletions
|
@ -50,13 +50,13 @@ module.exports = class ThangTypeEditView extends View
|
||||||
@thangType.saveBackups = true
|
@thangType.saveBackups = true
|
||||||
|
|
||||||
@listenToOnce(@thangType, 'error', =>
|
@listenToOnce(@thangType, 'error', =>
|
||||||
@hideLoading()
|
@hideLoading()
|
||||||
|
|
||||||
# Hack: editor components appear after calling insertSubView.
|
# Hack: editor components appear after calling insertSubView.
|
||||||
# So we need to hide them first.
|
# So we need to hide them first.
|
||||||
$(@$el).find('.main-content-area').children('*').not('#error-view').remove()
|
$(@$el).find('.main-content-area').children('*').not('#error-view').remove()
|
||||||
|
|
||||||
@insertSubView(new ErrorView())
|
@insertSubView(new ErrorView())
|
||||||
)
|
)
|
||||||
|
|
||||||
thangRes = @supermodel.addModelResource(@thangType, 'thang_type')
|
thangRes = @supermodel.addModelResource(@thangType, 'thang_type')
|
||||||
|
|
Loading…
Reference in a new issue