@@ -123,7 +123,7 @@ const _resolvedContextCache = new LRU({max: RESOLVED_CONTEXT_CACHE_MAX_SIZE});
123123 * unmappable values (or to throw an error when they are detected);
124124 * if this function returns `undefined` then the default behavior
125125 * will be used.
126- * [handleEvent ] handler for events such as warnings .
126+ * [eventHandler ] handler for events.
127127 * [contextResolver] internal use only.
128128 *
129129 * @return a Promise that resolves to the compacted output.
@@ -272,7 +272,7 @@ jsonld.compact = async function(input, ctx, options) {
272272 * unmappable values (or to throw an error when they are detected);
273273 * if this function returns `undefined` then the default behavior
274274 * will be used.
275- * [handleEvent ] handler for events such as warnings .
275+ * [eventHandler ] handler for events.
276276 * [contextResolver] internal use only.
277277 *
278278 * @return a Promise that resolves to the expanded output.
@@ -370,7 +370,7 @@ jsonld.expand = async function(input, options) {
370370 * [base] the base IRI to use.
371371 * [expandContext] a context to expand with.
372372 * [documentLoader(url, options)] the document loader.
373- * [handleEvent ] handler for events such as warnings .
373+ * [eventHandler ] handler for events.
374374 * [contextResolver] internal use only.
375375 *
376376 * @return a Promise that resolves to the flattened output.
@@ -426,7 +426,7 @@ jsonld.flatten = async function(input, ctx, options) {
426426 * [requireAll] default @requireAll flag (default: true).
427427 * [omitDefault] default @omitDefault flag (default: false).
428428 * [documentLoader(url, options)] the document loader.
429- * [handleEvent ] handler for events such as warnings .
429+ * [eventHandler ] handler for events.
430430 * [contextResolver] internal use only.
431431 *
432432 * @return a Promise that resolves to the framed output.
@@ -509,7 +509,7 @@ jsonld.frame = async function(input, frame, options) {
509509 * [base] the base IRI to use.
510510 * [expandContext] a context to expand with.
511511 * [documentLoader(url, options)] the document loader.
512- * [handleEvent ] handler for events such as warnings .
512+ * [eventHandler ] handler for events.
513513 * [contextResolver] internal use only.
514514 *
515515 * @return a Promise that resolves to the linked output.
@@ -545,7 +545,7 @@ jsonld.link = async function(input, ctx, options) {
545545 * 'application/n-quads' for N-Quads.
546546 * [documentLoader(url, options)] the document loader.
547547 * [useNative] true to use a native canonize algorithm
548- * [handleEvent ] handler for events such as warnings .
548+ * [eventHandler ] handler for events.
549549 * [contextResolver] internal use only.
550550 *
551551 * @return a Promise that resolves to the normalized output.
@@ -602,7 +602,7 @@ jsonld.normalize = jsonld.canonize = async function(input, options) {
602602 * (boolean, integer, double), false not to (default: false).
603603 * [rdfDirection] 'i18n-datatype' to support RDF transformation of
604604 * @direction (default: null).
605- * [handleEvent ] handler for events such as warnings .
605+ * [eventHandler ] handler for events.
606606 *
607607 * @return a Promise that resolves to the JSON-LD document.
608608 */
@@ -652,7 +652,7 @@ jsonld.fromRDF = async function(dataset, options) {
652652 * [produceGeneralizedRdf] true to output generalized RDF, false
653653 * to produce only standard RDF (default: false).
654654 * [documentLoader(url, options)] the document loader.
655- * [handleEvent ] handler for events such as warnings .
655+ * [eventHandler ] handler for events.
656656 * [contextResolver] internal use only.
657657 *
658658 * @return a Promise that resolves to the RDF dataset.
@@ -706,7 +706,7 @@ jsonld.toRDF = async function(input, options) {
706706 * [expandContext] a context to expand with.
707707 * [issuer] a jsonld.IdentifierIssuer to use to label blank nodes.
708708 * [documentLoader(url, options)] the document loader.
709- * [handleEvent ] handler for events such as warnings .
709+ * [eventHandler ] handler for events.
710710 * [contextResolver] internal use only.
711711 *
712712 * @return a Promise that resolves to the merged node map.
@@ -746,7 +746,7 @@ jsonld.createNodeMap = async function(input, options) {
746746 * new properties where a node is in the `object` position
747747 * (default: true).
748748 * [documentLoader(url, options)] the document loader.
749- * [handleEvent ] handler for events such as warnings .
749+ * [eventHandler ] handler for events.
750750 * [contextResolver] internal use only.
751751 *
752752 * @return a Promise that resolves to the merged output.
@@ -909,7 +909,7 @@ jsonld.get = async function(url, options) {
909909 * @param localCtx the local context to process.
910910 * @param [options] the options to use:
911911 * [documentLoader(url, options)] the document loader.
912- * [handleEvent ] handler for events such as warnings .
912+ * [eventHandler ] handler for events.
913913 * [contextResolver] internal use only.
914914 *
915915 * @return a Promise that resolves to the new active context.
0 commit comments