Allow relative URLs in getDocument

This commit is contained in:
Yury Delendik 2012-07-26 12:11:28 -05:00
parent b3a603c199
commit af4bd10c70
3 changed files with 12 additions and 3 deletions

View file

@ -78,7 +78,6 @@ function combineUrl(baseUrl, url) {
return baseUrl.substring(0, prefixLength + 1) + url;
}
}
PDFJS.combineUrl = combineUrl;
// In a well-formed PDF, |cond| holds. If it doesn't, subsequent
// behavior is undefined.