Skip to content

Commit 404fcb6

Browse files
committed
Fix _findContextUrls refactoring bug from 1.0.3.
1 parent 7b091e1 commit 404fcb6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# jsonld ChangeLog
22

3+
### Fixed
4+
- Fix `_findContextUrls` refactoring bug from 1.0.3.
5+
36
## 1.0.3 - 2018-08-16
47

58
### Changed

lib/context.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ function _findContextUrls(input, urls, replace, base) {
10851085
Array.prototype.splice.apply(ctx, [i, 1].concat(resolved));
10861086
i += resolved.length - 1;
10871087
length = ctx.length;
1088-
} else {
1088+
} else if(resolved !== false) {
10891089
ctx[i] = resolved;
10901090
}
10911091
} else if(resolved === undefined) {

0 commit comments

Comments
 (0)