From 918bd98a2f805e90fa44ba48b3a4de18dc81b881 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sun, 1 Oct 2017 15:04:36 +0200 Subject: [PATCH] Remove the deprecated `destroy` method of the API This is deprecated since October 2015 with a visible message, so we can safely remove this now. --- src/display/api.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/display/api.js b/src/display/api.js index 2599052c5..d761505da 100644 --- a/src/display/api.js +++ b/src/display/api.js @@ -1063,14 +1063,6 @@ var PDFPageProxy = (function PDFPageProxyClosure() { return Promise.all(waitOn); }, - /** - * Cleans up resources allocated by the page. (deprecated) - */ - destroy() { - deprecated('page destroy method, use cleanup() instead'); - this.cleanup(); - }, - /** * Cleans up resources allocated by the page. */