@ -353,9 +332,10 @@ var PDFDocumentProxy = function PDFDocumentProxyClosure() {
@@ -353,9 +332,10 @@ var PDFDocumentProxy = function PDFDocumentProxyClosure() {
@ -587,11 +563,6 @@ var PDFPageProxy = function PDFPageProxyClosure() {
@@ -587,11 +563,6 @@ var PDFPageProxy = function PDFPageProxyClosure() {
this.pendingCleanup=false;
returnPromise.all(waitOn);
},
destroy:functiondestroy(){
(0,_util.deprecated)('page destroy method, use cleanup() instead');
this.cleanup();
},
cleanup:functionPDFPageProxy_cleanup(){
this.pendingCleanup=true;
this._tryCleanup();
@ -1223,16 +1194,14 @@ var WorkerTransport = function WorkerTransportClosure() {
@@ -1223,16 +1194,14 @@ var WorkerTransport = function WorkerTransportClosure() {
@ -1510,11 +1479,7 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@@ -1510,11 +1479,7 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@ -1568,24 +1533,10 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@@ -1568,24 +1533,10 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@ -207,10 +207,6 @@ var PDFLinkService = function () {
@@ -207,10 +207,6 @@ var PDFLinkService = function () {
});
}
}else{
if(/^\d+$/.test(hash)&&hash<=this.pagesCount){
console.warn('PDFLinkService_setHash: specifying a page number '+'directly after the hash symbol (#) is deprecated, '+('please use the "#page='+hash+'" form instead.'));
@ -953,10 +953,6 @@ var PDFLinkService = function () {
@@ -953,10 +953,6 @@ var PDFLinkService = function () {
});
}
}else{
if(/^\d+$/.test(hash)&&hash<=this.pagesCount){
console.warn('PDFLinkService_setHash: specifying a page number '+'directly after the hash symbol (#) is deprecated, '+('please use the "#page='+hash+'" form instead.'));
this.page=hash|0;
}
dest=unescape(hash);
try{
dest=JSON.parse(dest);
@ -1558,10 +1554,6 @@ var BaseViewer = function () {
@@ -1558,10 +1554,6 @@ var BaseViewer = function () {
},{
key:'scrollPageIntoView',
value:functionscrollPageIntoView(params){
if(arguments.length>1||typeofparams==='number'){
console.error('Call of scrollPageIntoView() with obsolete signature.');
return;
}
if(!this.pdfDocument){
return;
}
@ -2565,7 +2557,7 @@ var PDFPageView = function () {
@@ -2565,7 +2557,7 @@ var PDFPageView = function () {