@@ -123,7 +123,7 @@ const _resolvedContextCache = new LRU({max: RESOLVED_CONTEXT_CACHE_MAX_SIZE});
123
123
* unmappable values (or to throw an error when they are detected);
124
124
* if this function returns `undefined` then the default behavior
125
125
* will be used.
126
- * [handleEvent ] handler for events such as warnings .
126
+ * [eventHandler ] handler for events.
127
127
* [contextResolver] internal use only.
128
128
*
129
129
* @return a Promise that resolves to the compacted output.
@@ -272,7 +272,7 @@ jsonld.compact = async function(input, ctx, options) {
272
272
* unmappable values (or to throw an error when they are detected);
273
273
* if this function returns `undefined` then the default behavior
274
274
* will be used.
275
- * [handleEvent ] handler for events such as warnings .
275
+ * [eventHandler ] handler for events.
276
276
* [contextResolver] internal use only.
277
277
*
278
278
* @return a Promise that resolves to the expanded output.
@@ -370,7 +370,7 @@ jsonld.expand = async function(input, options) {
370
370
* [base] the base IRI to use.
371
371
* [expandContext] a context to expand with.
372
372
* [documentLoader(url, options)] the document loader.
373
- * [handleEvent ] handler for events such as warnings .
373
+ * [eventHandler ] handler for events.
374
374
* [contextResolver] internal use only.
375
375
*
376
376
* @return a Promise that resolves to the flattened output.
@@ -426,7 +426,7 @@ jsonld.flatten = async function(input, ctx, options) {
426
426
* [requireAll] default @requireAll flag (default: true).
427
427
* [omitDefault] default @omitDefault flag (default: false).
428
428
* [documentLoader(url, options)] the document loader.
429
- * [handleEvent ] handler for events such as warnings .
429
+ * [eventHandler ] handler for events.
430
430
* [contextResolver] internal use only.
431
431
*
432
432
* @return a Promise that resolves to the framed output.
@@ -509,7 +509,7 @@ jsonld.frame = async function(input, frame, options) {
509
509
* [base] the base IRI to use.
510
510
* [expandContext] a context to expand with.
511
511
* [documentLoader(url, options)] the document loader.
512
- * [handleEvent ] handler for events such as warnings .
512
+ * [eventHandler ] handler for events.
513
513
* [contextResolver] internal use only.
514
514
*
515
515
* @return a Promise that resolves to the linked output.
@@ -545,7 +545,7 @@ jsonld.link = async function(input, ctx, options) {
545
545
* 'application/n-quads' for N-Quads.
546
546
* [documentLoader(url, options)] the document loader.
547
547
* [useNative] true to use a native canonize algorithm
548
- * [handleEvent ] handler for events such as warnings .
548
+ * [eventHandler ] handler for events.
549
549
* [contextResolver] internal use only.
550
550
*
551
551
* @return a Promise that resolves to the normalized output.
@@ -602,7 +602,7 @@ jsonld.normalize = jsonld.canonize = async function(input, options) {
602
602
* (boolean, integer, double), false not to (default: false).
603
603
* [rdfDirection] 'i18n-datatype' to support RDF transformation of
604
604
* @direction (default: null).
605
- * [handleEvent ] handler for events such as warnings .
605
+ * [eventHandler ] handler for events.
606
606
*
607
607
* @return a Promise that resolves to the JSON-LD document.
608
608
*/
@@ -652,7 +652,7 @@ jsonld.fromRDF = async function(dataset, options) {
652
652
* [produceGeneralizedRdf] true to output generalized RDF, false
653
653
* to produce only standard RDF (default: false).
654
654
* [documentLoader(url, options)] the document loader.
655
- * [handleEvent ] handler for events such as warnings .
655
+ * [eventHandler ] handler for events.
656
656
* [contextResolver] internal use only.
657
657
*
658
658
* @return a Promise that resolves to the RDF dataset.
@@ -706,7 +706,7 @@ jsonld.toRDF = async function(input, options) {
706
706
* [expandContext] a context to expand with.
707
707
* [issuer] a jsonld.IdentifierIssuer to use to label blank nodes.
708
708
* [documentLoader(url, options)] the document loader.
709
- * [handleEvent ] handler for events such as warnings .
709
+ * [eventHandler ] handler for events.
710
710
* [contextResolver] internal use only.
711
711
*
712
712
* @return a Promise that resolves to the merged node map.
@@ -746,7 +746,7 @@ jsonld.createNodeMap = async function(input, options) {
746
746
* new properties where a node is in the `object` position
747
747
* (default: true).
748
748
* [documentLoader(url, options)] the document loader.
749
- * [handleEvent ] handler for events such as warnings .
749
+ * [eventHandler ] handler for events.
750
750
* [contextResolver] internal use only.
751
751
*
752
752
* @return a Promise that resolves to the merged output.
@@ -909,7 +909,7 @@ jsonld.get = async function(url, options) {
909
909
* @param localCtx the local context to process.
910
910
* @param [options] the options to use:
911
911
* [documentLoader(url, options)] the document loader.
912
- * [handleEvent ] handler for events such as warnings .
912
+ * [eventHandler ] handler for events.
913
913
* [contextResolver] internal use only.
914
914
*
915
915
* @return a Promise that resolves to the new active context.
0 commit comments