Parcourir la source

Updated API docs.

Piotrek Koszuliński il y a 9 ans
Parent
commit
01921fe885

+ 1 - 1
packages/ckeditor5-ui/src/bindings/toolbar.js

@@ -20,7 +20,7 @@ export default class Toolbar extends BaseToolbar {
 	 *
 	 * @param {ui.Model} model
 	 * @param {ui.View} view
-	 * @param {core.Editor} editor
+	 * @param {ckeditor5.Editor} editor
 	 */
 	constructor( model, view, editor ) {
 		super( model, view );

+ 3 - 3
packages/ckeditor5-ui/src/componentfactory.js

@@ -14,7 +14,7 @@ import CKEditorError from '../utils/ckeditorerror.js';
  * components can be later instantiated by providing the name of the component. The model is shared between all
  * instances of that component and has to be provided upon registering its factory.
  *
- * The main use case for the component factory is the {@link core.editorUI.EditorUI#featureComponents} factory.
+ * The main use case for the component factory is the {@link ui.editorUI.EditorUI#featureComponents} factory.
  *
  * @memberOf ui
  */
@@ -24,12 +24,12 @@ export default class ComponentFactory {
 	 * Creates ComponentFactory instance.
 	 *
 	 * @constructor
-	 * @param {core.Editor} editor The editor instance.
+	 * @param {ckeditor5.Editor} editor The editor instance.
 	 */
 	constructor( editor ) {
 		/**
 		 * @readonly
-		 * @member {core.Editor} ui.ComponentFactory#editor
+		 * @member {ckeditor5.Editor} ui.ComponentFactory#editor
 		 */
 		this.editor = editor;
 

+ 1 - 1
packages/ckeditor5-ui/src/domemittermixin.js

@@ -157,7 +157,7 @@ extend( ProxyEmitter.prototype, EmitterMixin, {
  *                                fire( click, DOM Event )
  *
  * @mixin ui.DOMEmitterMixin
- * @mixes core.EmitterMixin
+ * @mixes utils.EmitterMixin
  * @implements ui.DOMEmitter
  */
 const DOMEmitterMixin = extend( {}, EmitterMixin, {

+ 3 - 3
packages/ckeditor5-ui/src/editorui/editorui.js

@@ -23,20 +23,20 @@ export default class EditorUI extends Controller {
 	/**
 	 * Creates an EditorUI instance.
 	 *
-	 * @param {core.Editor} editor
+	 * @param {ckeditor5.Editor} editor
 	 */
 	constructor( editor ) {
 		super();
 
 		/**
 		 * @readonly
-		 * @member {core.Editor} core.editorUI.EditorUI#editor
+		 * @member {ckeditor5.Editor} ui.editorUI.EditorUI#editor
 		 */
 		this.editor = editor;
 
 		/**
 		 * @readonly
-		 * @member {core.ui.ComponentFactory} core.editorUI.EditorUI#featureComponents
+		 * @member {ui.ComponentFactory} ui.editorUI.EditorUI#featureComponents
 		 */
 		this.featureComponents = new ComponentFactory( editor );
 

+ 3 - 3
packages/ckeditor5-ui/src/region.js

@@ -22,21 +22,21 @@ export default class Region {
 		/**
 		 * The name of the region.
 		 *
-		 * @member {String} core.ui.Region#name
+		 * @member {String} ui.Region#name
 		 */
 		this.name = name;
 
 		/**
 		 * Views which belong to the region.
 		 *
-		 * @member {utils.Collection} core.ui.Region#views
+		 * @member {utils.Collection} ui.Region#views
 		 */
 		this.views = new Collection();
 
 		/**
 		 * Element of this region (see {@link #init}).
 		 *
-		 * @member {HTMLElement} core.ui.Region#element
+		 * @member {HTMLElement} ui.Region#element
 		 */
 		this.element = null;
 	}

+ 1 - 1
packages/ckeditor5-ui/src/view.js

@@ -27,7 +27,7 @@ export default class View {
 	 * Creates an instance of the {@link View} class.
 	 *
 	 * @param {ui.Model} model (View)Model of this View.
-	 * @param {utils.Locale} [locale] The {@link core.Editor#locale editor's locale} instance.
+	 * @param {utils.Locale} [locale] The {@link ckeditor5.Editor#locale editor's locale} instance.
 	 */
 	constructor( model, locale ) {
 		/**