@@ -43,7 +43,7 @@ api.cache = new ActiveContextCache();
43
43
* @param localCtx the local context to process.
44
44
* @param options the context processing options.
45
45
* @param propagate `true` if `false`, retains any previously defined term,
46
- * which can be rolled back when the descending into a new node object changes .
46
+ * which can be rolled back when the descending into a new node object.
47
47
* @param overrideProtected `false` allows protected terms to be modified.
48
48
*
49
49
* @return a Promise that resolves to the new active context.
@@ -480,7 +480,9 @@ api.createTermDefinition = ({
480
480
const prefix = term . substr ( 0 , colon ) ;
481
481
if ( localCtx . hasOwnProperty ( prefix ) ) {
482
482
// define parent prefix
483
- api . createTermDefinition ( { activeCtx, localCtx, term : prefix , defined, options} ) ;
483
+ api . createTermDefinition ( {
484
+ activeCtx, localCtx, term : prefix , defined, options
485
+ } ) ;
484
486
}
485
487
486
488
if ( activeCtx . mappings . has ( prefix ) ) {
@@ -785,7 +787,9 @@ function _expandIri(activeCtx, value, relativeTo, localCtx, defined, options) {
785
787
// define term dependency if not defined
786
788
if ( localCtx && localCtx . hasOwnProperty ( value ) &&
787
789
defined . get ( value ) !== true ) {
788
- api . createTermDefinition ( { activeCtx, localCtx, term : value , defined, options} ) ;
790
+ api . createTermDefinition ( {
791
+ activeCtx, localCtx, term : value , defined, options
792
+ } ) ;
789
793
}
790
794
791
795
relativeTo = relativeTo || { } ;
@@ -817,7 +821,9 @@ function _expandIri(activeCtx, value, relativeTo, localCtx, defined, options) {
817
821
818
822
// prefix dependency not defined, define it
819
823
if ( localCtx && localCtx . hasOwnProperty ( prefix ) ) {
820
- api . createTermDefinition ( { activeCtx, localCtx, term : prefix , defined, options} ) ;
824
+ api . createTermDefinition ( {
825
+ activeCtx, localCtx, term : prefix , defined, options
826
+ } ) ;
821
827
}
822
828
823
829
// use mapping if prefix is defined
0 commit comments