[api-minor] Add a pdfjsNext parameter, and PDFJS_NEXT build flag, to allow backwards incompatible API changes

This commit is contained in:
Jonas Jenwald 2017-03-13 17:35:33 +01:00
parent 2b17188998
commit 6d672c4ba6
7 changed files with 20 additions and 5 deletions

View file

@ -2065,7 +2065,7 @@ var RenderTask = (function RenderTaskClosure() {
/**
* Cancels the rendering task. If the task is currently rendering it will
* not be cancelled until graphics pauses with a timeout. The promise that
* this object extends will resolved when cancelled.
* this object extends will be rejected when cancelled.
*/
cancel: function RenderTask_cancel() {
this._internalRenderTask.cancel();