Explorar el Código

Added missing @return documentation on load().

fredck hace 10 años
padre
commit
c6258d91bc
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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;