|
@@ -5,6 +5,10 @@
|
|
|
|
|
|
|
|
'use strict';
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
+import EmitterMixin from './emittermixin.js';
|
|
|
|
|
+import CKEditorError from './ckeditorerror.js';
|
|
|
|
|
+import utilsObject from './lib/lodash/object.js';
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* Collections are ordered sets of objects. Items in the collection can be retrieved by their indexes
|
|
* Collections are ordered sets of objects. Items in the collection can be retrieved by their indexes
|
|
|
* in the collection (like in an array) or by their ids.
|
|
* in the collection (like in an array) or by their ids.
|
|
@@ -19,10 +23,6 @@
|
|
|
* @mixins EventEmitter
|
|
* @mixins EventEmitter
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
-import EmitterMixin from './emittermixin.js';
|
|
|
|
|
-import CKEditorError from './ckeditorerror.js';
|
|
|
|
|
-import utilsObject from './lib/lodash/object.js';
|
|
|
|
|
-
|
|
|
|
|
export default class Collection {
|
|
export default class Collection {
|
|
|
/**
|
|
/**
|
|
|
* Creates a new Collection instance.
|
|
* Creates a new Collection instance.
|