|
|
@@ -1,5 +1,5 @@
|
|
|
/**
|
|
|
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
|
|
|
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
|
|
|
* For licensing, see LICENSE.md.
|
|
|
*/
|
|
|
|
|
|
@@ -28,20 +28,10 @@ export default class BalloonEditorUI extends EditorUI {
|
|
|
/**
|
|
|
* The main (top–most) view of the editor UI.
|
|
|
*
|
|
|
- * @private
|
|
|
- * @member {module:ui/editorui/editoruiview~EditorUIView} #_view
|
|
|
+ * @readonly
|
|
|
+ * @member {module:ui/editorui/editoruiview~EditorUIView} #view
|
|
|
*/
|
|
|
- this._view = view;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * The main (top–most) view of the editor UI.
|
|
|
- *
|
|
|
- * @readonly
|
|
|
- * @member {module:ui/editorui/editoruiview~EditorUIView} #view
|
|
|
- */
|
|
|
- get view() {
|
|
|
- return this._view;
|
|
|
+ this.view = view;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -95,7 +85,7 @@ export default class BalloonEditorUI extends EditorUI {
|
|
|
* @inheritDoc
|
|
|
*/
|
|
|
destroy() {
|
|
|
- this._view.destroy();
|
|
|
+ this.view.destroy();
|
|
|
|
|
|
super.destroy();
|
|
|
}
|