Ver código fonte

Added missing @return documentation on load().

fredck 10 anos atrás
pai
commit
c6258d91bc
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      packages/ckeditor5-engine/src/plugincollection.js

+ 2 - 0
packages/ckeditor5-engine/src/plugincollection.js

@@ -33,6 +33,8 @@ CKEDITOR.define( [ 'mvc/collection', 'promise' ], function( Collection, Promise
 		 * Loads a set of plugins and add them to the collection.
 		 *
 		 * @param {String} plugins A comma separated list of plugin names to get loaded.
+		 * @returns {Promise} A promise which gets resolved once all plugins are loaded and available into the
+		 * collection.
 		 */
 		load: function( plugins ) {
 			var that = this;