()
| 600 | } |
| 601 | |
| 602 | getCurrentView () { |
| 603 | let currentViewID = this.$el.find('.tab-pane.active').attr('id') |
| 604 | if (currentViewID === 'editor-level-patches') { return this.patchesView } |
| 605 | if (currentViewID === 'editor-level-documentation') { currentViewID = 'components-documentation-view' } |
| 606 | return this.subviews[_.string.underscored(currentViewID)] |
| 607 | } |
| 608 | |
| 609 | startPatchingLevel (e) { |
| 610 | this.openModalView(new SaveVersionModal({ model: this.level })) |
nothing calls this directly
no outgoing calls
no test coverage detected