Skip to content

Commit af2eee9

Browse files
gkelloggdavidlehn
authored andcommitted
Remove @nest bits that were inadvertently included.
1 parent e23f78d commit af2eee9

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lib/context.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -279,12 +279,6 @@ api.createTermDefinition = (activeCtx, localCtx, term, defined) => {
279279
'contain @id.', 'jsonld.SyntaxError',
280280
{code: 'invalid reverse property', context: localCtx});
281281
}
282-
if('@nest' in value) {
283-
throw new JsonLdError(
284-
'Invalid JSON-LD syntax; a @reverse term definition must not ' +
285-
'contain @nest.', 'jsonld.SyntaxError',
286-
{code: 'invalid reverse property', context: localCtx});
287-
}
288282
const reverse = value['@reverse'];
289283
if(!_isString(reverse)) {
290284
throw new JsonLdError(
@@ -460,10 +454,6 @@ api.createTermDefinition = (activeCtx, localCtx, term, defined) => {
460454
mapping['@language'] = language;
461455
}
462456

463-
if('@next' in value) {
464-
465-
}
466-
467457
// disallow aliasing @context and @preserve
468458
const id = mapping['@id'];
469459
if(id === '@context' || id === '@preserve') {
@@ -829,7 +819,6 @@ api.isKeyword = v => {
829819
case '@index':
830820
case '@language':
831821
case '@list':
832-
case '@nest':
833822
case '@omitDefault':
834823
case '@preserve':
835824
case '@requireAll':

0 commit comments

Comments
 (0)