Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
Remove console.log statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Ludlow committed Sep 27, 2017
1 parent 2397028 commit 411d69a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/demo/app/modal-demo.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export class ModalDemoComponent {
}

dismissed() {
console.log('huh');
this.output = '(dismissed)';
}

Expand Down
4 changes: 0 additions & 4 deletions src/ng2-bs3-modal/autofocus/autofocus.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ describe('AutofocusDirective', () => {
const fixture = createRoot(TestComponent);
fixture.componentInstance.open();
tick();
console.log('$(\'[autofocus]\').length', $('[autofocus]').length);
console.log('document.activeElement', document.activeElement);
expect(<Element> document.getElementById('text')).toBe(document.activeElement);
}));

Expand All @@ -39,8 +37,6 @@ describe('AutofocusDirective', () => {
fixture.componentInstance.open();
tick(150); // backdrop transition
tick(300); // modal transition
console.log('$(\'[autofocus]\').length', $('[autofocus]').length);
console.log('document.activeElement', document.activeElement);
expect(<Element> document.getElementById('text')).toBe(document.activeElement);
}));
});
Expand Down
2 changes: 0 additions & 2 deletions src/ng2-bs3-modal/modal/modal-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ export class BsModalService {
public onKeyboardClose: Observable<BsModalCloseSource>;

constructor() {
console.log('service ctor');

this.onBackdropClose = Observable.fromEvent(jQuery(document), CLICK_EVENT_NAME)
.filter((e: MouseEvent) => e.target === jQuery('.modal')[0])
.map(() => BsModalCloseSource.Backdrop)
Expand Down
1 change: 0 additions & 1 deletion src/ng2-bs3-modal/modal/modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export class BsModalComponent implements OnDestroy, OnChanges {
this.service.remove(this);
return this.hide().do(() => {
if (this.$modal) {
console.log('destroy');
this.$modal.data(DATA_KEY, null);
this.$modal.remove();
this.$modal = null;
Expand Down

0 comments on commit 411d69a

Please sign in to comment.