Skip to content

Commit

Permalink
WIP: Make Istanbul happy
Browse files Browse the repository at this point in the history
  • Loading branch information
acdvorak committed Feb 9, 2019
1 parent e7719ba commit cf36082
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/mdc-drawer/dismissible/foundation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class MDCDismissibleDrawerFoundation extends MDCFoundation<MDCDrawerAdapter> {
private animationFrame_ = 0;
private animationTimer_ = 0;

constructor(adapter: Partial<MDCDrawerAdapter> = {}) {
constructor(adapter?: Partial<MDCDrawerAdapter>) {
super({...MDCDismissibleDrawerFoundation.defaultAdapter, ...adapter});
}

Expand All @@ -68,9 +68,6 @@ class MDCDismissibleDrawerFoundation extends MDCFoundation<MDCDrawerAdapter> {
}
}

/**
* Function to open the drawer.
*/
open() {
if (this.isOpen() || this.isOpening() || this.isClosing()) {
return;
Expand All @@ -87,9 +84,6 @@ class MDCDismissibleDrawerFoundation extends MDCFoundation<MDCDrawerAdapter> {
this.adapter_.saveFocus();
}

/**
* Function to close the drawer.
*/
close() {
if (!this.isOpen() || this.isOpening() || this.isClosing()) {
return;
Expand Down

0 comments on commit cf36082

Please sign in to comment.