diff --git a/src/lib/annotations/AnnotationDialog.js b/src/lib/annotations/AnnotationDialog.js index af0ae863c..db7d203af 100644 --- a/src/lib/annotations/AnnotationDialog.js +++ b/src/lib/annotations/AnnotationDialog.js @@ -243,16 +243,11 @@ class AnnotationDialog extends EventEmitter { */ position() {} - //-------------------------------------------------------------------------- - // Protected - //-------------------------------------------------------------------------- - /** * Sets up the dialog element. * * @param {Annotation[]} annotations - to show in the dialog * @return {void} - * @protected */ setup(annotations) { // Generate HTML of dialog @@ -284,7 +279,6 @@ class AnnotationDialog extends EventEmitter { /** * Binds DOM event listeners. * - * @protected * @return {void} */ bindDOMListeners() { @@ -302,7 +296,6 @@ class AnnotationDialog extends EventEmitter { /** * Unbinds DOM event listeners. * - * @protected * @return {void} */ unbindDOMListeners() { @@ -320,7 +313,6 @@ class AnnotationDialog extends EventEmitter { /** * Keydown handler for dialog. * - * @protected * @param {Event} event - DOM event * @return {void} */ @@ -341,7 +333,6 @@ class AnnotationDialog extends EventEmitter { /** * Stops propagation of DOM event. * - * @protected * @param {Event} event - DOM event * @return {void} */ @@ -352,7 +343,6 @@ class AnnotationDialog extends EventEmitter { /** * Mouseenter handler. Clears hide timeout. * - * @protected * @return {void} */ mouseenterHandler() { @@ -373,7 +363,6 @@ class AnnotationDialog extends EventEmitter { /** * Mouseleave handler. Hides dialog if we aren't creating the first one. * - * @protected * @return {void} */ mouseleaveHandler() { @@ -385,7 +374,6 @@ class AnnotationDialog extends EventEmitter { /** * Click handler on dialog. * - * @protected * @param {Event} event - DOM event * @return {void} */ diff --git a/src/lib/annotations/AnnotationThread.js b/src/lib/annotations/AnnotationThread.js index 45c2947ea..3a04c8d40 100644 --- a/src/lib/annotations/AnnotationThread.js +++ b/src/lib/annotations/AnnotationThread.js @@ -251,15 +251,10 @@ class AnnotationThread extends EventEmitter { */ createDialog() {} - //-------------------------------------------------------------------------- - // Protected - //-------------------------------------------------------------------------- - /** * Sets up the thread. Creates HTML for annotation indicator, sets * appropriate dialog, and binds event listeners. * - * @protected * @return {void} */ setup() { @@ -282,7 +277,6 @@ class AnnotationThread extends EventEmitter { /** * Sets up indicator element. * - * @protected * @return {void} */ setupElement() { @@ -293,7 +287,6 @@ class AnnotationThread extends EventEmitter { /** * Binds DOM event listeners for the thread. * - * @protected * @return {void} */ bindDOMListeners() { @@ -312,7 +305,6 @@ class AnnotationThread extends EventEmitter { /** * Unbinds DOM event listeners for the thread. * - * @protected * @return {void} */ unbindDOMListeners() { @@ -331,7 +323,6 @@ class AnnotationThread extends EventEmitter { /** * Binds custom event listeners for the dialog. * - * @protected * @return {void} */ bindCustomListenersOnDialog() { @@ -347,7 +338,6 @@ class AnnotationThread extends EventEmitter { /** * Unbinds custom event listeners for the dialog. * - * @protected * @return {void} */ unbindCustomListenersOnDialog() { @@ -363,7 +353,6 @@ class AnnotationThread extends EventEmitter { /** * Destroys mobile and pending/pending-active annotation threads * - * @protected * @return {void} */ cancelUnsavedAnnotation() { diff --git a/src/lib/annotations/Annotator.js b/src/lib/annotations/Annotator.js index 7a35704ce..8ee721a52 100644 --- a/src/lib/annotations/Annotator.js +++ b/src/lib/annotations/Annotator.js @@ -467,14 +467,9 @@ class Annotator extends EventEmitter { getAnnotatedEl(containerEl) {} /* eslint-enable no-unused-vars */ - //-------------------------------------------------------------------------- - // Protected - //-------------------------------------------------------------------------- - /** * Annotations setup. * - * @protected * @return {void} */ setupAnnotations() { @@ -489,7 +484,6 @@ class Annotator extends EventEmitter { * Fetches persisted annotations, creates threads as needed, and generates * an in-memory map of page to threads. * - * @protected * @return {Promise} Promise for fetching saved annotations */ fetchAnnotations() { @@ -527,7 +521,6 @@ class Annotator extends EventEmitter { * needs to bind event listeners to the DOM in the normal state (ie not * in any annotation mode). * - * @protected * @return {void} */ unbindDOMListeners() {} @@ -535,7 +528,6 @@ class Annotator extends EventEmitter { /** * Binds custom event listeners for the Annotation Service. * - * @protected * @return {void} */ bindCustomListenersOnService() { @@ -585,7 +577,6 @@ class Annotator extends EventEmitter { /** * Unbinds custom event listeners for the Annotation Service. * - * @protected * @return {void} */ unbindCustomListenersOnService() { @@ -599,7 +590,6 @@ class Annotator extends EventEmitter { /** * Binds custom event listeners for a thread. * - * @protected * @param {AnnotationThread} thread - Thread to bind events to * @return {void} */ @@ -631,7 +621,6 @@ class Annotator extends EventEmitter { /** * Unbinds custom event listeners for the thread. * - * @protected * @param {AnnotationThread} thread - Thread to bind events to * @return {void} */ @@ -643,7 +632,6 @@ class Annotator extends EventEmitter { /** * Binds event listeners for annotation modes. * - * @protected * @param {string} mode - Current annotation mode * @return {void} */ @@ -708,7 +696,6 @@ class Annotator extends EventEmitter { * Event handler for adding a point annotation. Creates a point annotation * thread at the clicked location. * - * @protected * @param {Event} event - DOM event * @return {void} */ @@ -748,7 +735,6 @@ class Annotator extends EventEmitter { /** * Unbinds event listeners for annotation modes. * - * @protected * @return {void} */ unbindModeListeners() { @@ -761,7 +747,6 @@ class Annotator extends EventEmitter { /** * Adds thread to in-memory map. * - * @protected * @param {AnnotationThread} thread - Thread to add * @return {void} */ @@ -775,7 +760,6 @@ class Annotator extends EventEmitter { /** * Returns whether or not annotator is in the specified annotation mode. * - * @protected * @param {string} mode - Current annotation mode * @return {boolean} Whether or not in the specified annotation mode */ @@ -790,7 +774,6 @@ class Annotator extends EventEmitter { /** * Orient annotations to the correct scale and orientation of the annotated document. * - * @protected * @param {Object} data - Scale and orientation values needed to orient annotations. * @return {void} */ diff --git a/src/lib/annotations/doc/DocAnnotator.js b/src/lib/annotations/doc/DocAnnotator.js index ccabbcdb3..44d4fb61c 100644 --- a/src/lib/annotations/doc/DocAnnotator.js +++ b/src/lib/annotations/doc/DocAnnotator.js @@ -389,14 +389,9 @@ class DocAnnotator extends Annotator { }); } - //-------------------------------------------------------------------------- - // Protected - //-------------------------------------------------------------------------- - /** * Annotations setup. * - * @protected * @override * @return {void} */ @@ -416,7 +411,6 @@ class DocAnnotator extends Annotator { /** * Binds DOM event listeners. * - * @protected * @override * @return {void} */ @@ -436,7 +430,6 @@ class DocAnnotator extends Annotator { /** * Unbinds DOM event listeners. * - * @protected * @override * @return {void} */ @@ -462,7 +455,6 @@ class DocAnnotator extends Annotator { /** * Binds custom event listeners for a thread. * - * @protected * @override * @param {AnnotationThread} thread - Thread to bind events to * @return {void} @@ -481,7 +473,6 @@ class DocAnnotator extends Annotator { /** * Checks whether mouse is inside any dialog on the current page * - * @protected * @param {Event} event - Mouse event * @param {number} page - Current page number * @return {boolean} Whether or not mouse is inside a dialog on the page diff --git a/src/lib/annotations/doc/DocHighlightDialog.js b/src/lib/annotations/doc/DocHighlightDialog.js index 5fd319d5c..02a13937b 100644 --- a/src/lib/annotations/doc/DocHighlightDialog.js +++ b/src/lib/annotations/doc/DocHighlightDialog.js @@ -179,16 +179,11 @@ class DocHighlightDialog extends AnnotationDialog { } } - //-------------------------------------------------------------------------- - // Protected - //-------------------------------------------------------------------------- - /** * Sets up the dialog element. * * @override * @return {void} - * @protected */ setup(annotations) { // Only create an dialog element, if one doesn't already exist @@ -268,7 +263,6 @@ class DocHighlightDialog extends AnnotationDialog { * * @override * @return {void} - * @protected */ bindDOMListeners() { this.element.addEventListener('mousedown', this.mousedownHandler); @@ -285,7 +279,6 @@ class DocHighlightDialog extends AnnotationDialog { * * @override * @return {void} - * @protected */ unbindDOMListeners() { this.element.removeEventListener('mousedown', this.mousedownHandler); @@ -303,7 +296,6 @@ class DocHighlightDialog extends AnnotationDialog { * * @override * @return {void} - * @protected */ keydownHandler(event) { event.stopPropagation(); @@ -318,7 +310,6 @@ class DocHighlightDialog extends AnnotationDialog { * * @param {Event} event - DOM event * @return {void} - * @protected */ mousedownHandler(event) { event.stopPropagation(); diff --git a/src/lib/annotations/doc/DocHighlightThread.js b/src/lib/annotations/doc/DocHighlightThread.js index 8f6cc1b85..9b283c17c 100644 --- a/src/lib/annotations/doc/DocHighlightThread.js +++ b/src/lib/annotations/doc/DocHighlightThread.js @@ -279,15 +279,10 @@ class DocHighlightThread extends AnnotationThread { } } - //-------------------------------------------------------------------------- - // Protected - //-------------------------------------------------------------------------- - /** * No-op setup element. Highlight threads have no HTML indicator since * they are drawn onto the canvas. * - * @protected * @override * @return {void} */ @@ -296,7 +291,6 @@ class DocHighlightThread extends AnnotationThread { /** * Binds custom event listeners for the dialog. * - * @protected * @override * @return {void} */ @@ -344,7 +338,6 @@ class DocHighlightThread extends AnnotationThread { /** * Unbinds custom event listeners for the dialog. * - * @protected * @override * @return {void} */ diff --git a/src/lib/annotations/drawing/DrawingThread.js b/src/lib/annotations/drawing/DrawingThread.js index 0aeec7b19..e08e65ab4 100644 --- a/src/lib/annotations/drawing/DrawingThread.js +++ b/src/lib/annotations/drawing/DrawingThread.js @@ -97,14 +97,9 @@ class DrawingThread extends AnnotationThread { handleStop(location) {} /* eslint-disable no-unused-vars */ - //-------------------------------------------------------------------------- - // Protected - //-------------------------------------------------------------------------- - /** * Set the drawing styles * - * @protected * @param {Object} config - The configuration Object * @param {number} config.scale - The document scale * @param {string} config.color - The brush color @@ -126,7 +121,6 @@ class DrawingThread extends AnnotationThread { * Draw the pending path onto the DrawingThread CanvasContext. Should be used * in conjunction with requestAnimationFrame. * - * @protected * @param {number} timestamp - The time when the function was called; * @return {void} */ @@ -153,10 +147,6 @@ class DrawingThread extends AnnotationThread { } } - //-------------------------------------------------------------------------- - // Protected - //-------------------------------------------------------------------------- - /** * Create an annotation data object to pass to annotation service. * diff --git a/src/lib/viewers/BaseViewer.js b/src/lib/viewers/BaseViewer.js index c67052169..a4c132505 100644 --- a/src/lib/viewers/BaseViewer.js +++ b/src/lib/viewers/BaseViewer.js @@ -158,7 +158,6 @@ class BaseViewer extends EventEmitter { /** * Destroys the viewer * - * @protected * @return {void} */ destroy() { @@ -200,7 +199,6 @@ class BaseViewer extends EventEmitter { /** * Loads content. * - * @protected * @return {void} */ load() { @@ -210,7 +208,6 @@ class BaseViewer extends EventEmitter { /** * Sets a timeout for loading. * - * @protected * @emits Error * @return {void} */ @@ -242,7 +239,6 @@ class BaseViewer extends EventEmitter { /** * Emits error event with refresh message. * - * @protected * @emits error * @param {Error} [err] - Optional error with message * @return {void} @@ -254,7 +250,6 @@ class BaseViewer extends EventEmitter { /** * Tells if the content is loaded or not * - * @protected * @return {boolean} true if loaded */ isLoaded() { @@ -264,7 +259,6 @@ class BaseViewer extends EventEmitter { /** * Tells if preview destroyed * - * @protected * @return {boolean} true if destroyed */ isDestroyed() { @@ -274,7 +268,6 @@ class BaseViewer extends EventEmitter { /** * Appends auth params to the content url * - * @protected * @param {string} url - url to attach param to * @return {string} url with appended auth params */ @@ -288,7 +281,6 @@ class BaseViewer extends EventEmitter { * Prioritizes using the provided asset over * using the asset name provided from preview * - * @protected * @param {string} template - url template to attach param to * @param {string|void} [asset] - optional asset name needed to access file * @return {string} content url @@ -302,7 +294,6 @@ class BaseViewer extends EventEmitter { * Prioritizes using the provided asset over * using the asset name provided from preview * - * @protected * @param {string} template - url template to attach param to * @param {string|void} [asset] - optional asset name needed to access file * @return {string} content url @@ -314,7 +305,6 @@ class BaseViewer extends EventEmitter { /** * Adds headers needed for an XHR fetch * - * @protected * @param {Object} [headers] - optional existing headers * @return {Object} fetch headers */ @@ -352,7 +342,6 @@ class BaseViewer extends EventEmitter { /** * Enters or exits fullscreen * - * @protected * @return {void} */ toggleFullscreen() { @@ -376,7 +365,6 @@ class BaseViewer extends EventEmitter { /** * Resizing logic * - * @protected * @emits resize * @return {void} */ @@ -391,7 +379,6 @@ class BaseViewer extends EventEmitter { * Function to tell preview if navigation arrows * should be shown and won't intefere with viewer * - * @protected * @return {boolean} true */ allowNavigationArrows() { @@ -401,7 +388,6 @@ class BaseViewer extends EventEmitter { /** * Emits a generic viewer event * - * @protected * @emits viewerevent * @param {string} event - Event name * @param {Object} data - Event data @@ -424,7 +410,6 @@ class BaseViewer extends EventEmitter { * Although W3 strongly discourages the prevention of pinch to zoom, * we still meet the WCAG's requirement of a 200% zoom on text. * - * @protected * @param {Event} event - object * @return {void} */ @@ -454,7 +439,6 @@ class BaseViewer extends EventEmitter { * Handles updates to the pinch in order to determine whether the user * was pinching in or out. Used only by non iOS browsers * - * @protected * @param {Event} event - object * @return {void} */ @@ -471,7 +455,6 @@ class BaseViewer extends EventEmitter { /** * Zooms the document in or out depending on the scale of the pinch * - * @protected * @param {Event} event - object * @return {void} */ @@ -511,7 +494,6 @@ class BaseViewer extends EventEmitter { /** * Retrieves the value of a viewer option. * - * @protected * @param {string} option - to get * @return {Object} Value of a viewer option */ @@ -526,7 +508,6 @@ class BaseViewer extends EventEmitter { /** * Loads assets needed for a viewer * - * @protected * @param {Array} [js] - js assets * @param {Array} [css] - css assets * @return {Promise} Promise to load scripts @@ -546,7 +527,6 @@ class BaseViewer extends EventEmitter { /** * Prefetches assets needed for a viewer * - * @protected * @param {Array} [js] - js assets * @param {Array} [css] - css assets * @return {void} @@ -626,7 +606,6 @@ class BaseViewer extends EventEmitter { /** * Loads the appropriate annotator and loads the file's annotations * - * @protected * @return {void} */ loadAnnotator() { @@ -651,7 +630,6 @@ class BaseViewer extends EventEmitter { /** * Initializes annotations. * - * @protected * @return {void} */ initAnnotations() { diff --git a/src/lib/viewers/doc/DocBaseViewer.js b/src/lib/viewers/doc/DocBaseViewer.js index 17c5cc274..458f96481 100644 --- a/src/lib/viewers/doc/DocBaseViewer.js +++ b/src/lib/viewers/doc/DocBaseViewer.js @@ -470,14 +470,9 @@ class DocBaseViewer extends BaseViewer { return true; } - //-------------------------------------------------------------------------- - // Protected - //-------------------------------------------------------------------------- - /** * Loads PDF.js with provided PDF. * - * @protected * @param {string} pdfUrl - The URL of the PDF to load * @return {Promise} Promise to initialize Viewer */ @@ -548,7 +543,6 @@ class DocBaseViewer extends BaseViewer { /** * Re-sizing logic. * - * @protected * @override * @return {void} */ @@ -831,7 +825,6 @@ class DocBaseViewer extends BaseViewer { /** * Binds DOM listeners for document viewer. * - * @protected * @return {void} */ bindDOMListeners() { @@ -867,7 +860,6 @@ class DocBaseViewer extends BaseViewer { /** * Unbinds DOM listeners for document viewer. * - * @protected * @return {void} */ unbindDOMListeners() { @@ -896,7 +888,6 @@ class DocBaseViewer extends BaseViewer { /** * Binds listeners for document controls. Overridden. * - * @protected * @return {void} */ bindControlListeners() {} diff --git a/src/lib/viewers/doc/PresentationViewer.js b/src/lib/viewers/doc/PresentationViewer.js index 2e014d479..f01f144c7 100644 --- a/src/lib/viewers/doc/PresentationViewer.js +++ b/src/lib/viewers/doc/PresentationViewer.js @@ -123,17 +123,12 @@ class PresentationViewer extends DocBaseViewer { return hasXOverflow || hasYOverflow; } - //-------------------------------------------------------------------------- - // Protected - //-------------------------------------------------------------------------- - /** * Loads PDF.js with provided PDF. * * @override * @param {string} pdfUrl The URL of the PDF to load * @return {void} - * @protected */ initViewer(pdfUrl) { super.initViewer(pdfUrl); @@ -149,7 +144,6 @@ class PresentationViewer extends DocBaseViewer { * * @override * @return {void} - * @protected */ bindDOMListeners() { super.bindDOMListeners(); @@ -167,7 +161,6 @@ class PresentationViewer extends DocBaseViewer { * * @override * @return {void} - * @protected */ unbindDOMListeners() { super.unbindDOMListeners(); @@ -185,7 +178,6 @@ class PresentationViewer extends DocBaseViewer { * * @override * @return {void} - * @protected */ bindControlListeners() { super.bindControlListeners(); diff --git a/src/lib/viewers/image/ImageBaseViewer.js b/src/lib/viewers/image/ImageBaseViewer.js index bd411cd3f..50e68718b 100644 --- a/src/lib/viewers/image/ImageBaseViewer.js +++ b/src/lib/viewers/image/ImageBaseViewer.js @@ -171,7 +171,6 @@ class ImageBaseViewer extends BaseViewer { /** * Binds DOM listeners for image viewers. * - * @protected * @return {void} */ bindDOMListeners() { @@ -194,7 +193,6 @@ class ImageBaseViewer extends BaseViewer { /** * Unbinds DOM listeners for image viewers. * - * @protected * @return {void} */ unbindDOMListeners() { diff --git a/src/lib/viewers/image/ImageViewer.js b/src/lib/viewers/image/ImageViewer.js index 43a091d16..a4b493122 100644 --- a/src/lib/viewers/image/ImageViewer.js +++ b/src/lib/viewers/image/ImageViewer.js @@ -343,7 +343,6 @@ class ImageViewer extends ImageBaseViewer { /** * Binds DOM listeners for image viewer. * - * @protected * @return {void} */ bindDOMListeners() { @@ -360,7 +359,6 @@ class ImageViewer extends ImageBaseViewer { /** * Unbinds DOM listeners for image viewer. * - * @protected * @return {void} */ unbindDOMListeners() { diff --git a/src/lib/viewers/media/DashViewer.js b/src/lib/viewers/media/DashViewer.js index a1c258c21..fdb0fc18a 100644 --- a/src/lib/viewers/media/DashViewer.js +++ b/src/lib/viewers/media/DashViewer.js @@ -108,7 +108,6 @@ class DashViewer extends VideoBaseViewer { * Returns shaka player assets. * Overriden by Video360.js * - * @protected * @return {void} */ getJSAssets() { diff --git a/src/lib/viewers/media/MediaBaseViewer.js b/src/lib/viewers/media/MediaBaseViewer.js index b700e3bee..bb925a855 100644 --- a/src/lib/viewers/media/MediaBaseViewer.js +++ b/src/lib/viewers/media/MediaBaseViewer.js @@ -122,7 +122,6 @@ class MediaBaseViewer extends BaseViewer { /** * Handler for meta data load for the media element. * - * @protected * @emits load * @return {void} */ @@ -145,7 +144,6 @@ class MediaBaseViewer extends BaseViewer { /** * Makes media wrapper (and contents) visible. * - * @protected * @return {void} */ showMedia() { @@ -239,7 +237,6 @@ class MediaBaseViewer extends BaseViewer { * Adds event listeners to the media controls. * Makes changes to the media element. * - * @protected * @return {void} */ addEventListenersForMediaControls() { @@ -428,7 +425,6 @@ class MediaBaseViewer extends BaseViewer { /** * Shows the loading indicator * - * @protected * @return {void} */ showLoadingIcon() { @@ -442,7 +438,6 @@ class MediaBaseViewer extends BaseViewer { * Adds event listeners to the media element. * Makes changes to the media controls. * - * @protected * @return {void} */ addEventListenersForMediaElement() { @@ -496,7 +491,6 @@ class MediaBaseViewer extends BaseViewer { /** * Handles keyboard events for media * - * @protected * @param {string} key - keydown key * @return {boolean} consumed or not */ diff --git a/src/lib/viewers/media/VideoBaseViewer.js b/src/lib/viewers/media/VideoBaseViewer.js index 22ccb000b..c0eb1cfef 100644 --- a/src/lib/viewers/media/VideoBaseViewer.js +++ b/src/lib/viewers/media/VideoBaseViewer.js @@ -184,7 +184,6 @@ class VideoBaseViewer extends MediaBaseViewer { * Function to tell preview if navigation arrows * should be shown and won't intefere with viewer * - * @protected * @return {boolean} true if arrows should be shown */ allowNavigationArrows() { @@ -195,7 +194,6 @@ class VideoBaseViewer extends MediaBaseViewer { * Darkens the background of preview. * Good for having high contrast videos. * - * @protected * @return {void} */ lowerLights() { diff --git a/src/lib/viewers/text/MarkdownViewer.js b/src/lib/viewers/text/MarkdownViewer.js index be0cd09d2..87d08d923 100644 --- a/src/lib/viewers/text/MarkdownViewer.js +++ b/src/lib/viewers/text/MarkdownViewer.js @@ -68,7 +68,6 @@ class MarkdownViewer extends PlainTextViewer { * Finishes loading by parsing Markdown and highlighting any necessary code. * * @override - * @protected * @param {string} content - Markdown text * @return {void} */ @@ -91,7 +90,6 @@ class MarkdownViewer extends PlainTextViewer { * Loads controls for fullscreen. Markdown viewer doesn't have zoom in or out. * * @override - * @protected * @return {void} */ loadUI() { diff --git a/src/lib/viewers/text/PlainTextViewer.js b/src/lib/viewers/text/PlainTextViewer.js index 8ed2afee0..a7eb656d4 100644 --- a/src/lib/viewers/text/PlainTextViewer.js +++ b/src/lib/viewers/text/PlainTextViewer.js @@ -96,10 +96,6 @@ class PlainTextViewer extends TextBaseViewer { this.emit('printsuccess'); } - //-------------------------------------------------------------------------- - // Protected - //-------------------------------------------------------------------------- - /** * @inheritdoc */ @@ -143,7 +139,6 @@ class PlainTextViewer extends TextBaseViewer { /** * Finishes loading after text is highlighted. * - * @protected * @param {string} content - Text * @param {boolean} isHighlighted - Whether or not text is highlighted * @return {void} diff --git a/src/lib/viewers/text/TextBaseViewer.js b/src/lib/viewers/text/TextBaseViewer.js index a60bf0c3a..2a694955c 100644 --- a/src/lib/viewers/text/TextBaseViewer.js +++ b/src/lib/viewers/text/TextBaseViewer.js @@ -111,7 +111,6 @@ class TextBaseViewer extends BaseViewer { * Loads controls for zooming and fullscreen. * * @return {void} - * @protected */ loadUI() { this.controls = new Controls(this.containerEl); @@ -131,7 +130,6 @@ class TextBaseViewer extends BaseViewer { * * @override * @return {void} - * @protected */ resize() { super.resize(); @@ -142,7 +140,6 @@ class TextBaseViewer extends BaseViewer { * * @param {string} key - keydown key * @return {boolean} consumed or not - * @protected */ onKeydown(key) { // Return false when media controls are not ready or are focused