@@ -119,7 +119,7 @@ const _resolvedContextCache = new LRU({max: RESOLVED_CONTEXT_CACHE_MAX_SIZE});
119
119
* unmappable values (or to throw an error when they are detected);
120
120
* if this function returns `undefined` then the default behavior
121
121
* will be used.
122
- * [handleEvent ] handler for events such as warnings .
122
+ * [eventHandler ] handler for events.
123
123
* [contextResolver] internal use only.
124
124
*
125
125
* @return a Promise that resolves to the compacted output.
@@ -258,7 +258,7 @@ jsonld.compact = async function(input, ctx, options) {
258
258
* unmappable values (or to throw an error when they are detected);
259
259
* if this function returns `undefined` then the default behavior
260
260
* will be used.
261
- * [handleEvent ] handler for events such as warnings .
261
+ * [eventHandler ] handler for events.
262
262
* [contextResolver] internal use only.
263
263
*
264
264
* @return a Promise that resolves to the expanded output.
@@ -356,7 +356,7 @@ jsonld.expand = async function(input, options) {
356
356
* [base] the base IRI to use.
357
357
* [expandContext] a context to expand with.
358
358
* [documentLoader(url, options)] the document loader.
359
- * [handleEvent ] handler for events such as warnings .
359
+ * [eventHandler ] handler for events.
360
360
* [contextResolver] internal use only.
361
361
*
362
362
* @return a Promise that resolves to the flattened output.
@@ -412,7 +412,7 @@ jsonld.flatten = async function(input, ctx, options) {
412
412
* [requireAll] default @requireAll flag (default: true).
413
413
* [omitDefault] default @omitDefault flag (default: false).
414
414
* [documentLoader(url, options)] the document loader.
415
- * [handleEvent ] handler for events such as warnings .
415
+ * [eventHandler ] handler for events.
416
416
* [contextResolver] internal use only.
417
417
*
418
418
* @return a Promise that resolves to the framed output.
@@ -511,7 +511,7 @@ jsonld.frame = async function(input, frame, options) {
511
511
* [base] the base IRI to use.
512
512
* [expandContext] a context to expand with.
513
513
* [documentLoader(url, options)] the document loader.
514
- * [handleEvent ] handler for events such as warnings .
514
+ * [eventHandler ] handler for events.
515
515
* [contextResolver] internal use only.
516
516
*
517
517
* @return a Promise that resolves to the linked output.
@@ -547,7 +547,7 @@ jsonld.link = async function(input, ctx, options) {
547
547
* 'application/n-quads' for N-Quads.
548
548
* [documentLoader(url, options)] the document loader.
549
549
* [useNative] true to use a native canonize algorithm
550
- * [handleEvent ] handler for events such as warnings .
550
+ * [eventHandler ] handler for events.
551
551
* [contextResolver] internal use only.
552
552
*
553
553
* @return a Promise that resolves to the normalized output.
@@ -604,7 +604,7 @@ jsonld.normalize = jsonld.canonize = async function(input, options) {
604
604
* (boolean, integer, double), false not to (default: false).
605
605
* [rdfDirection] 'i18n-datatype' to support RDF transformation of
606
606
* @direction (default: null).
607
- * [handleEvent ] handler for events such as warnings .
607
+ * [eventHandler ] handler for events.
608
608
*
609
609
* @return a Promise that resolves to the JSON-LD document.
610
610
*/
@@ -654,7 +654,7 @@ jsonld.fromRDF = async function(dataset, options) {
654
654
* [produceGeneralizedRdf] true to output generalized RDF, false
655
655
* to produce only standard RDF (default: false).
656
656
* [documentLoader(url, options)] the document loader.
657
- * [handleEvent ] handler for events such as warnings .
657
+ * [eventHandler ] handler for events.
658
658
* [contextResolver] internal use only.
659
659
*
660
660
* @return a Promise that resolves to the RDF dataset.
@@ -708,7 +708,7 @@ jsonld.toRDF = async function(input, options) {
708
708
* [expandContext] a context to expand with.
709
709
* [issuer] a jsonld.IdentifierIssuer to use to label blank nodes.
710
710
* [documentLoader(url, options)] the document loader.
711
- * [handleEvent ] handler for events such as warnings .
711
+ * [eventHandler ] handler for events.
712
712
* [contextResolver] internal use only.
713
713
*
714
714
* @return a Promise that resolves to the merged node map.
@@ -748,7 +748,7 @@ jsonld.createNodeMap = async function(input, options) {
748
748
* new properties where a node is in the `object` position
749
749
* (default: true).
750
750
* [documentLoader(url, options)] the document loader.
751
- * [handleEvent ] handler for events such as warnings .
751
+ * [eventHandler ] handler for events.
752
752
* [contextResolver] internal use only.
753
753
*
754
754
* @return a Promise that resolves to the merged output.
@@ -911,7 +911,7 @@ jsonld.get = async function(url, options) {
911
911
* @param localCtx the local context to process.
912
912
* @param [options] the options to use:
913
913
* [documentLoader(url, options)] the document loader.
914
- * [handleEvent ] handler for events such as warnings .
914
+ * [eventHandler ] handler for events.
915
915
* [contextResolver] internal use only.
916
916
*
917
917
* @return a Promise that resolves to the new active context.
0 commit comments