Skip to content

Commit

Permalink
fix(project): minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyNahas committed Nov 26, 2020
1 parent 34a0ba7 commit 171158f
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 149 deletions.
1 change: 1 addition & 0 deletions projects/ngx-mailto/src/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Public API Surface of ngx-mailto
*/

export * from './lib/mailto';
export * from './lib/ngx-mailto.service';
export * from './lib/ngx-mailto.pipe';
export * from './lib/ngx-mailto.module';
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ <h2>Usage</h2>
</textarea>
</mat-form-field>

<!-- <a class="try-me" mat-raised-button color="accent" [href]="this.mailto$ | async | mailto">Try me!</a>-->
<!-- <a class="try-me" mat-raised-button color="accent" [href]="this.mailto | mailto">Try me!</a>-->

<button class="try-me" mat-raised-button color="primary" (click)="open()">Try Me!</button>

Expand Down
4 changes: 2 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { Component, OnInit } from '@angular/core';
import { FormControl } from '@angular/forms';
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
import { MatChipInputEvent } from '@angular/material/chips';
import { Mailto, NgxMailtoService } from 'ngx-mailto';
import { Observable } from 'rxjs';
import { map, startWith } from 'rxjs/operators';
import { Mailto } from '../ngx-mailto/mailto';
import { NgxMailtoService } from '../ngx-mailto/ngx-mailto.service';


@Component({
selector: 'app-root',
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { MatIconModule } from '@angular/material/icon';
import { MatInputModule } from '@angular/material/input';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgxMailtoModule } from 'ngx-mailto';
import { MarkdownModule } from 'ngx-markdown';
import { NgxMailtoModule } from '../ngx-mailto/ngx-mailto.module';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
Expand Down
14 changes: 0 additions & 14 deletions src/ngx-mailto/mailto.ts

This file was deleted.

16 changes: 0 additions & 16 deletions src/ngx-mailto/ngx-mailto.module.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/ngx-mailto/ngx-mailto.pipe.spec.ts

This file was deleted.

18 changes: 0 additions & 18 deletions src/ngx-mailto/ngx-mailto.pipe.ts

This file was deleted.

16 changes: 0 additions & 16 deletions src/ngx-mailto/ngx-mailto.service.spec.ts

This file was deleted.

73 changes: 0 additions & 73 deletions src/ngx-mailto/ngx-mailto.service.ts

This file was deleted.

0 comments on commit 171158f

Please sign in to comment.