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

Added docs for private methods.

Maciej Bukowski 7 лет назад
Родитель
Сommit
a94cc2fb51
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      packages/ckeditor5-autosave/src/autosave.js

+ 5 - 0
packages/ckeditor5-autosave/src/autosave.js

@@ -185,6 +185,8 @@ export default class Autosave extends Plugin {
 	}
 
 	/**
+	 * Increments counter and adds pending action if it not exists.
+	 *
 	 * @private
 	 */
 	_incrementCounter() {
@@ -197,6 +199,9 @@ export default class Autosave extends Plugin {
 	}
 
 	/**
+	 * Decrements counter and removes pending action if counter is empty,
+	 * which means, that no new save action occurred.
+	 *
 	 * @private
 	 */
 	_decrementCounter() {