Add missing parameter documentation

This commit is contained in:
Simon Rozman 2024-05-08 12:50:10 +02:00
parent 71d17273d0
commit 6392328e98

View File

@ -36,6 +36,7 @@ class BesService {
* Registers grammar checking service
*
* @param {Element} hostElement DOM element to register grammar checking service for
* @param {BesTAService} textAreaService <textarea> support service
* @returns {BesService} Grammar checking service instance
*/
static register(hostElement, textAreaService) {
@ -70,6 +71,7 @@ class BesService {
* Recursively grammar-proofs a DOM tree.
*
* @param {Node} node DOM root node to proof
* @param {Boolean} isInitialCall Is this first-level call in recursion?
* @returns {Array} Markup of text to proof using BesStr
*/
async proof(node, isInitialCall = true) {