浏览代码

Docs: Update private methods params documentation in AlignmentCommand class.

Maciej Gołaszewski 8 年之前
父节点
当前提交
d4418f7ce1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      packages/ckeditor5-alignment/src/alignmentcommand.js

+ 2 - 0
packages/ckeditor5-alignment/src/alignmentcommand.js

@@ -95,6 +95,7 @@ export default class AlignmentCommand extends Command {
 	 * Checks whether the command can be enabled in the current context.
 	 *
 	 * @private
+	 * @param {module:engine/model/element~Element} firstBlock A first block in selection to be checked.
 	 * @returns {Boolean} Whether the command should be enabled.
 	 */
 	_checkEnabled( firstBlock ) {
@@ -116,6 +117,7 @@ export default class AlignmentCommand extends Command {
 	 * Checks the command's {@link #value}.
 	 *
 	 * @private
+	 * @param {module:engine/model/element~Element} firstBlock A first block in selection to be checked.
 	 * @returns {Boolean} The current value.
 	 */
 	_getValue( firstBlock ) {