From cf36082998e0bb57bfa742bfe18e7b4455cd538e Mon Sep 17 00:00:00 2001 From: Andy Dvorak Date: Sat, 9 Feb 2019 12:58:56 -0800 Subject: [PATCH] WIP: Make Istanbul happy --- packages/mdc-drawer/dismissible/foundation.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/mdc-drawer/dismissible/foundation.ts b/packages/mdc-drawer/dismissible/foundation.ts index fd679351a26..c4a785eff4f 100644 --- a/packages/mdc-drawer/dismissible/foundation.ts +++ b/packages/mdc-drawer/dismissible/foundation.ts @@ -55,7 +55,7 @@ class MDCDismissibleDrawerFoundation extends MDCFoundation { private animationFrame_ = 0; private animationTimer_ = 0; - constructor(adapter: Partial = {}) { + constructor(adapter?: Partial) { super({...MDCDismissibleDrawerFoundation.defaultAdapter, ...adapter}); } @@ -68,9 +68,6 @@ class MDCDismissibleDrawerFoundation extends MDCFoundation { } } - /** - * Function to open the drawer. - */ open() { if (this.isOpen() || this.isOpening() || this.isClosing()) { return; @@ -87,9 +84,6 @@ class MDCDismissibleDrawerFoundation extends MDCFoundation { this.adapter_.saveFocus(); } - /** - * Function to close the drawer. - */ close() { if (!this.isOpen() || this.isOpening() || this.isClosing()) { return;