瀏覽代碼

Update docs.

Co-Authored-By: Szymon Cofalik <s.cofalik@cksource.com>
Piotr Jasiun 6 年之前
父節點
當前提交
4f33ee960e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-watchdog/src/watchdog.js

+ 1 - 1
packages/ckeditor5-watchdog/src/watchdog.js

@@ -182,7 +182,7 @@ export default class Watchdog {
 
 	/**
 	 * Sets the function that is responsible for editor destruction.
-	 * It accepts function that returns a promise or undefined.
+	 * It expects a function that should return a promise or `undefined`.
 	 *
 	 *		watchdog.setDestructor( editor => editor.destroy() );
 	 *