Piotrek Koszuliński 9 anni fa
parent
commit
0a9d87a318

+ 2 - 2
packages/ckeditor5-engine/src/ckeditor.js

@@ -19,7 +19,7 @@ const CKEDITOR = {
 	 * A collection containing all editor instances created.
 	 *
 	 * @readonly
-	 * @member {core.Collection} CKEDITOR.instances
+	 * @member {utils.Collection} CKEDITOR.instances
 	 */
 	instances: new Collection(),
 
@@ -74,7 +74,7 @@ const CKEDITOR = {
 	/**
 	 * Holds global configuration defaults, which will be used by editor instances when such configurations are not
 	 * available on them directly.
-	 * @member {core.Config} CKEDITOR.config
+	 * @member {utils.Config} CKEDITOR.config
 	 */
 	config: new Config()
 };

+ 1 - 1
packages/ckeditor5-engine/src/editable/editable.js

@@ -13,7 +13,7 @@ import ObservableMixin from '../../utils/observablemixin.js';
 /**
  * @memberOf core.editable
  * @extends core.ui.Controller
- * @mixes core.ObservableMixin
+ * @mixes utils.ObservaleMixin
  */
 export default class Editable extends Controller {
 	/**

+ 5 - 5
packages/ckeditor5-engine/src/editor.js

@@ -17,7 +17,7 @@ import utils from '../utils/utils.js';
  * Represents a single editor instance.
  *
  * @memberOf core
- * @mixes core.ObservableMixin
+ * @mixes utils.ObservaleMixin
  */
 export default class Editor {
 	/**
@@ -47,7 +47,7 @@ export default class Editor {
 		 * instance itself.
 		 *
 		 * @readonly
-		 * @member {core.Config} core.Editor#config
+		 * @member {utils.Config} core.Editor#config
 		 */
 		this.config = config = new EditorConfig( config );
 
@@ -61,14 +61,14 @@ export default class Editor {
 
 		/**
 		 * @readonly
-		 * @member {core.Locale} core.Editor#locale
+		 * @member {utils.Locale} core.Editor#locale
 		 */
 		this.locale = new Locale( config.lang );
 
 		/**
-		 * Shorthand for {@link core.Locale#t}.
+		 * Shorthand for {@link utils.Locale#t}.
 		 *
-		 * @see core.Locale#t
+		 * @see utils.Locale#t
 		 * @method core.Editor#t
 		 */
 		this.t = this.locale.t;

+ 2 - 2
packages/ckeditor5-engine/src/editorconfig.js

@@ -11,11 +11,11 @@ import Config from '../utils/config.js';
 /**
  * Handles a configuration dictionary for an editor instance.
  *
- * The basic difference between {@link core.EditorConfig} and {@link core.Config} is that {@link core.EditorConfig#get} retrieves
+ * The basic difference between {@link core.EditorConfig} and {@link utils.Config} is that {@link core.EditorConfig#get} retrieves
  * configurations from {@link CKEDITOR#config} if they are not found.
  *
  * @memberOf core
- * @extends core.Config
+ * @extends utils.Config
  */
 export default class EditorConfig extends Config {
 	/**

+ 1 - 1
packages/ckeditor5-engine/src/editorui/editorui.js

@@ -16,7 +16,7 @@ import utils from '../../utils/utils.js';
  *
  * @memberOf core.editorUI
  * @extends core.ui.Controller
- * @mixes core.ObservableMixin
+ * @mixes utils.ObservaleMixin
  */
 
 export default class EditorUI extends Controller {

+ 1 - 1
packages/ckeditor5-engine/src/plugin.js

@@ -12,7 +12,7 @@ import utils from '../utils/utils.js';
  * The base class for CKEditor plugin classes.
  *
  * @memberOf core
- * @mixes core.ObservableMixin
+ * @mixes utils.ObservaleMixin
  */
 export default class Plugin {
 	/**

+ 1 - 1
packages/ckeditor5-engine/src/ui/controller.js

@@ -50,7 +50,7 @@ export default class Controller {
 		 * A collection of {@link ControllerCollection} instances containing
 		 * child controllers.
 		 *
-		 * @member {core.Collection} core.ui.Controller#collections
+		 * @member {utils.Collection} core.ui.Controller#collections
 		 */
 		this.collections = new Collection( {
 			idProperty: 'name'

+ 1 - 1
packages/ckeditor5-engine/src/ui/controllercollection.js

@@ -12,7 +12,7 @@ import CKEditorError from '../../utils/ckeditorerror.js';
  * Manages UI Controllers.
  *
  * @memberOf core.ui
- * @extends core.Collection
+ * @extends utils.Collection
  */
 export default class ControllerCollection extends Collection {
 	/**

+ 1 - 1
packages/ckeditor5-engine/src/ui/model.js

@@ -13,7 +13,7 @@ import ObservableMixin from '../../utils/observablemixin.js';
  * The base MVC model class.
  *
  * @memberOf core.ui
- * @mixes core.ObservableMixin
+ * @mixes utils.ObservaleMixin
  */
 export default class Model {
 	/**

+ 1 - 1
packages/ckeditor5-engine/src/ui/region.js

@@ -29,7 +29,7 @@ export default class Region {
 		/**
 		 * Views which belong to the region.
 		 *
-		 * @member {core.Collection} core.ui.Region#views
+		 * @member {utils.Collection} core.ui.Region#views
 		 */
 		this.views = new Collection();
 

+ 6 - 6
packages/ckeditor5-engine/src/ui/view.js

@@ -27,7 +27,7 @@ export default class View {
 	 * Creates an instance of the {@link View} class.
 	 *
 	 * @param {core.ui.Model} model (View)Model of this View.
-	 * @param {core.Locale} [locale] The {@link core.Editor#locale editor's locale} instance.
+	 * @param {utils.Locale} [locale] The {@link core.Editor#locale editor's locale} instance.
 	 */
 	constructor( model, locale ) {
 		/**
@@ -39,16 +39,16 @@ export default class View {
 
 		/**
 		 * @readonly
-		 * @member {core.Locale} core.ui.View#locale
+		 * @member {utils.Locale} core.ui.View#locale
 		 */
 		this.locale = locale;
 
 		/**
-		 * Shorthand for {@link core.Locale#t}.
+		 * Shorthand for {@link utils.Locale#t}.
 		 *
 		 * Note: If locale instance hasn't been passed to the view this method may not be available.
 		 *
-		 * @see core.Locale#t
+		 * @see utils.Locale#t
 		 * @method core.ui.View#t
 		 */
 		this.t = locale && locale.t;
@@ -56,7 +56,7 @@ export default class View {
 		/**
 		 * Regions of this view. See {@link core.ui.View#register}.
 		 *
-		 * @member {core.Collection} core.ui.View#regions
+		 * @member {utils.Collection} core.ui.View#regions
 		 */
 		this.regions = new Collection( {
 			idProperty: 'name'
@@ -87,7 +87,7 @@ export default class View {
 		 * An instance of Template to generate {@link core.ui.View#_el}.
 		 *
 		 * @private
-		 * @member {Template} core.ui.View#_template
+		 * @member {core.ui.Template} core.ui.View#_template
 		 */
 	}
 

+ 2 - 2
packages/ckeditor5-engine/tests/_utils/utils.js

@@ -56,13 +56,13 @@ const utils = {
 
 	/**
 	 * Creates an instance inheriting from {@link core.EmitterMixin} with one additional method `observe()`.
-	 * It allows observing changes to attributes in objects being {@link core.Observable observable}.
+	 * It allows observing changes to attributes in objects being {@link utils.Observale observable}.
 	 *
 	 * The `observe()` method accepts:
 	 *
 	 * * `{String} observableName` – Identifier for the observable object. E.g. `"Editable"` when
 	 * you observe one of editor's editables. This name will be displayed on the console.
-	 * * `{core.Observable observable} – The object to observe.
+	 * * `{utils.Observale observable} – The object to observe.
 	 *
 	 * Typical usage:
 	 *