error => {
if (error.error === 'invalid_grant') {
alert('Credentials are invalid.');
- }
- else {
- alert(`${error.error}: ${error.error_description}`)
+ } else {
+ alert(`${error.error}: ${error.error_description}`);
}
}
);
getVideos() {
let observable = null;
- if (this.search !== null) {""
+ if (this.search !== null) {
observable = this._videosService.searchVideos(this.search);
} else {
observable = this._videosService.getVideos();
"tsc:w": "tsc -w",
"typings": "typings",
"postinstall": "typings install",
- "test": "tslint -c ./tslint.json angular/**/*.ts angular/**/**/*.ts"
+ "test": "tslint -c ./tslint.json angular/**/*.ts angular/**/**/*.ts angular/**/**/**/*.ts"
},
"license": "ISC",
"dependencies": {