Skip to content

Commit 11f2936

Browse files
gkelloggdavidlehn
authored andcommitted
Rebase cleanup.
1 parent 4ce1472 commit 11f2936

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/compact.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ module.exports = api;
4646
* @param activeProperty the compacted property associated with the element
4747
* to compact, null for none.
4848
* @param element the element to compact.
49-
* @param options the compaction options:
50-
* [issuer] a jsonld.IdentifierIssuer to use to label blank nodes.
49+
* @param options the compaction options.
5150
* @param compactionMap the compaction map to use.
5251
*
5352
* @return the compacted value.
@@ -134,9 +133,6 @@ api.compact = ({
134133

135134
const rval = {};
136135

137-
// produce a map of all subjects and name each bnode
138-
const issuer = options.issuer || new util.IdentifierIssuer('_:b');
139-
140136
if(options.link && '@id' in element) {
141137
// store linked element
142138
if(!(element['@id'] in options.link)) {

0 commit comments

Comments
 (0)