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 {HttpClient} from '@angular/common/http'; | |
import {TranslateLoader} from '@ngx-translate/core'; | |
import {Observable} from 'rxjs/Observable'; | |
import 'rxjs/add/observable/forkJoin'; | |
export function translateLoader(http: HttpClient) { | |
return new MultiTranslateHttpLoader(http, [ | |
{prefix: './assets/i18n/', suffix: '.json'}, | |
{prefix: './assets/i18n/countries-', suffix: '.json'} |
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
#!/bin/sh | |
# ------------------------------------------------------------------------------------# | |
# Console log check | |
# ------------------------------------------------------------------------------------# | |
# Redirect output to stderr. | |
exec 1>&2 | |
# Enable user input | |
exec < /dev/tty | |
# Updated regexp to only look at the addition of console.log's on the current branch HEAD |