@@ -43,7 +43,7 @@ api.cache = new ActiveContextCache();
4343 * @param localCtx the local context to process.
4444 * @param options the context processing options.
4545 * @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.
4747 * @param overrideProtected `false` allows protected terms to be modified.
4848 *
4949 * @return a Promise that resolves to the new active context.
@@ -480,7 +480,9 @@ api.createTermDefinition = ({
480480 const prefix = term . substr ( 0 , colon ) ;
481481 if ( localCtx . hasOwnProperty ( prefix ) ) {
482482 // define parent prefix
483- api . createTermDefinition ( { activeCtx, localCtx, term : prefix , defined, options} ) ;
483+ api . createTermDefinition ( {
484+ activeCtx, localCtx, term : prefix , defined, options
485+ } ) ;
484486 }
485487
486488 if ( activeCtx . mappings . has ( prefix ) ) {
@@ -785,7 +787,9 @@ function _expandIri(activeCtx, value, relativeTo, localCtx, defined, options) {
785787 // define term dependency if not defined
786788 if ( localCtx && localCtx . hasOwnProperty ( value ) &&
787789 defined . get ( value ) !== true ) {
788- api . createTermDefinition ( { activeCtx, localCtx, term : value , defined, options} ) ;
790+ api . createTermDefinition ( {
791+ activeCtx, localCtx, term : value , defined, options
792+ } ) ;
789793 }
790794
791795 relativeTo = relativeTo || { } ;
@@ -817,7 +821,9 @@ function _expandIri(activeCtx, value, relativeTo, localCtx, defined, options) {
817821
818822 // prefix dependency not defined, define it
819823 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+ } ) ;
821827 }
822828
823829 // use mapping if prefix is defined
0 commit comments