8
0
Просмотр исходного кода

Docs: Fixed @returns use. [skip ci]

Piotrek Koszuliński 7 лет назад
Родитель
Сommit
a5c24a05d8
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/ckeditor5-table/src/converters/downcast.js

+ 2 - 2
packages/ckeditor5-table/src/converters/downcast.js

@@ -430,7 +430,7 @@ function getSectionName( row, tableAttributes ) {
 // @param {module:engine/view/element~Element} viewTable
 // @param {Object} conversionApi
 // @param {Object} cachedTableSection An object on which store cached elements.
-// @return {module:engine/view/containerelement~ContainerElement}
+// @returns {module:engine/view/containerelement~ContainerElement}
 function getOrCreateTableSection( sectionName, viewTable, conversionApi ) {
 	const viewTableSection = getExistingTableSectionElement( sectionName, viewTable );
 
@@ -455,7 +455,7 @@ function getExistingTableSectionElement( sectionName, tableElement ) {
 // @param {String} sectionName
 // @param {module:engine/view/element~Element} tableElement
 // @param {Object} conversionApi
-// @return {module:engine/view/containerelement~ContainerElement}
+// @returns {module:engine/view/containerelement~ContainerElement}
 function createTableSection( sectionName, tableElement, conversionApi ) {
 	const tableChildElement = conversionApi.writer.createContainerElement( sectionName );