(options, modelHandle)
| 45 | } |
| 46 | |
| 47 | constructor (options, modelHandle) { |
| 48 | super(options) |
| 49 | this.onEditorChange = this.onEditorChange.bind(this) |
| 50 | this.modelHandle = modelHandle |
| 51 | |
| 52 | this.model = new this.modelClass({ _id: this.modelHandle }) |
| 53 | this.supermodel.trackRequest(this.model.fetch()) |
| 54 | this.patches = new Patches() |
| 55 | this.listenTo(this.patches, 'change', function () { return this.renderSelectors('#patches-col') }) |
| 56 | this.patches.comparator = '_id' |
| 57 | this.supermodel.trackRequest(this.patches.fetchMineFor(this.model)) |
| 58 | |
| 59 | this.selectedLanguage = me.get('preferredLanguage', true) |
| 60 | this.madeChanges = false |
| 61 | } |
| 62 | |
| 63 | showLoading ($el) { |
| 64 | if ($el == null) { $el = this.$el.find('.outer-content') } |
nothing calls this directly
no test coverage detected