@@ -119,7 +119,7 @@ const _resolvedContextCache = new LRU({max: RESOLVED_CONTEXT_CACHE_MAX_SIZE});
119119 * unmappable values (or to throw an error when they are detected);
120120 * if this function returns `undefined` then the default behavior
121121 * will be used.
122- * [handleEvent ] handler for events such as warnings .
122+ * [eventHandler ] handler for events.
123123 * [contextResolver] internal use only.
124124 *
125125 * @return a Promise that resolves to the compacted output.
@@ -258,7 +258,7 @@ jsonld.compact = async function(input, ctx, options) {
258258 * unmappable values (or to throw an error when they are detected);
259259 * if this function returns `undefined` then the default behavior
260260 * will be used.
261- * [handleEvent ] handler for events such as warnings .
261+ * [eventHandler ] handler for events.
262262 * [contextResolver] internal use only.
263263 *
264264 * @return a Promise that resolves to the expanded output.
@@ -356,7 +356,7 @@ jsonld.expand = async function(input, options) {
356356 * [base] the base IRI to use.
357357 * [expandContext] a context to expand with.
358358 * [documentLoader(url, options)] the document loader.
359- * [handleEvent ] handler for events such as warnings .
359+ * [eventHandler ] handler for events.
360360 * [contextResolver] internal use only.
361361 *
362362 * @return a Promise that resolves to the flattened output.
@@ -412,7 +412,7 @@ jsonld.flatten = async function(input, ctx, options) {
412412 * [requireAll] default @requireAll flag (default: true).
413413 * [omitDefault] default @omitDefault flag (default: false).
414414 * [documentLoader(url, options)] the document loader.
415- * [handleEvent ] handler for events such as warnings .
415+ * [eventHandler ] handler for events.
416416 * [contextResolver] internal use only.
417417 *
418418 * @return a Promise that resolves to the framed output.
@@ -511,7 +511,7 @@ jsonld.frame = async function(input, frame, options) {
511511 * [base] the base IRI to use.
512512 * [expandContext] a context to expand with.
513513 * [documentLoader(url, options)] the document loader.
514- * [handleEvent ] handler for events such as warnings .
514+ * [eventHandler ] handler for events.
515515 * [contextResolver] internal use only.
516516 *
517517 * @return a Promise that resolves to the linked output.
@@ -547,7 +547,7 @@ jsonld.link = async function(input, ctx, options) {
547547 * 'application/n-quads' for N-Quads.
548548 * [documentLoader(url, options)] the document loader.
549549 * [useNative] true to use a native canonize algorithm
550- * [handleEvent ] handler for events such as warnings .
550+ * [eventHandler ] handler for events.
551551 * [contextResolver] internal use only.
552552 *
553553 * @return a Promise that resolves to the normalized output.
@@ -604,7 +604,7 @@ jsonld.normalize = jsonld.canonize = async function(input, options) {
604604 * (boolean, integer, double), false not to (default: false).
605605 * [rdfDirection] 'i18n-datatype' to support RDF transformation of
606606 * @direction (default: null).
607- * [handleEvent ] handler for events such as warnings .
607+ * [eventHandler ] handler for events.
608608 *
609609 * @return a Promise that resolves to the JSON-LD document.
610610 */
@@ -654,7 +654,7 @@ jsonld.fromRDF = async function(dataset, options) {
654654 * [produceGeneralizedRdf] true to output generalized RDF, false
655655 * to produce only standard RDF (default: false).
656656 * [documentLoader(url, options)] the document loader.
657- * [handleEvent ] handler for events such as warnings .
657+ * [eventHandler ] handler for events.
658658 * [contextResolver] internal use only.
659659 *
660660 * @return a Promise that resolves to the RDF dataset.
@@ -708,7 +708,7 @@ jsonld.toRDF = async function(input, options) {
708708 * [expandContext] a context to expand with.
709709 * [issuer] a jsonld.IdentifierIssuer to use to label blank nodes.
710710 * [documentLoader(url, options)] the document loader.
711- * [handleEvent ] handler for events such as warnings .
711+ * [eventHandler ] handler for events.
712712 * [contextResolver] internal use only.
713713 *
714714 * @return a Promise that resolves to the merged node map.
@@ -748,7 +748,7 @@ jsonld.createNodeMap = async function(input, options) {
748748 * new properties where a node is in the `object` position
749749 * (default: true).
750750 * [documentLoader(url, options)] the document loader.
751- * [handleEvent ] handler for events such as warnings .
751+ * [eventHandler ] handler for events.
752752 * [contextResolver] internal use only.
753753 *
754754 * @return a Promise that resolves to the merged output.
@@ -911,7 +911,7 @@ jsonld.get = async function(url, options) {
911911 * @param localCtx the local context to process.
912912 * @param [options] the options to use:
913913 * [documentLoader(url, options)] the document loader.
914- * [handleEvent ] handler for events such as warnings .
914+ * [eventHandler ] handler for events.
915915 * [contextResolver] internal use only.
916916 *
917917 * @return a Promise that resolves to the new active context.
0 commit comments