Adds deprecation warning for the API calls.
This commit is contained in:
parent
58c3ea0820
commit
5135aa9bec
5 changed files with 25 additions and 11 deletions
|
@ -457,9 +457,9 @@ var PDFPageView = (function PDFPageViewClosure() {
|
|||
canvasContext: ctx,
|
||||
viewport: this.viewport,
|
||||
// intent: 'default', // === 'display'
|
||||
continueCallback: renderContinueCallback
|
||||
};
|
||||
var renderTask = this.renderTask = this.pdfPage.render(renderContext);
|
||||
renderTask.onContinue = renderContinueCallback;
|
||||
|
||||
this.renderTask.promise.then(
|
||||
function pdfPageRenderCallback() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue