* Lazily returns a view. * @return {View}
()
| 26 | * @return {View} |
| 27 | */ |
| 28 | getView () { |
| 29 | if (this._view === null) { |
| 30 | this._view = new (this._viewPrototype)() |
| 31 | this._view.setModel(this) |
| 32 | this.didCreateView(this._view) |
| 33 | } |
| 34 | return this._view |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Updates view if any. |
no test coverage detected