Преглед на файлове

Rename a function. The new name is more explicit.

Co-Authored-By: pomek <pomek@users.noreply.github.com>
Piotrek Koszuliński преди 7 години
родител
ревизия
3e5fd13f1b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/ckeditor5-list/src/utils.js

+ 1 - 1
packages/ckeditor5-list/src/utils.js

@@ -25,7 +25,7 @@ export function createViewListItemElement( writer ) {
 // Implementation of getFillerOffset for view list item element.
 //
 // @returns {Number|null} Block filler offset or `null` if block filler is not needed.
-function _getFillerOffset() {
+function getListItemFillerOffset() {
 	const hasOnlyLists = !this.isEmpty && ( this.getChild( 0 ).name == 'ul' || this.getChild( 0 ).name == 'ol' );
 
 	if ( this.isEmpty || hasOnlyLists ) {