This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Directive, HostListener, Input } from '@angular/core'; | |
| import { ActivatedRoute, QueryParamsHandling, Router } from '@angular/router'; | |
| @Directive({ | |
| selector: '[link]' | |
| }) | |
| export class LinkDirective { | |
| @Input() link: string | string[]; | |
| @Input() linkQueryParams: object; | |
| @Input() linkQueryParamsHandling: QueryParamsHandling = ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| getFilesOfType() { | |
| find . -name "$1" -not -path "./node_modules/*" -not -path "./dist/*" -not -path "./reports/*" | |
| } | |
| getEs5JSBuildFiles() { | |
| du -chk ./dist/*es5*.js | grep total | |
| } | |
| getEs2015JSBuildFiles() { | |
| du -chk ./dist/*es2015*.js | grep total |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find . -name "*.component.ts" | wc -l |