build: reformat repo to new clang@1.4.0 (#36613)

PR Close #36613
This commit is contained in:
Joey Perrott
2020-04-13 16:40:21 -07:00
committed by atscott
parent 5e80e7e216
commit 698b0288be
1160 changed files with 31667 additions and 24000 deletions

View File

@ -55,7 +55,7 @@ const APP_BASE_HREF_RESOLVED = new InjectionToken<string>('APP_BASE_HREF_RESOLVE
/**
* `NgModule` used for providing and configuring Angular's Unified Location Service for upgrading.
*
*
* @see [Using the Unified Angular Location Service](guide/upgrade#using-the-unified-angular-location-service)
*
* @publicApi

View File

@ -152,7 +152,9 @@ export class AngularJSUrlCodec implements UrlCodec {
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L72
decodeSearch(search: string) { return parseKeyValue(search); }
decodeSearch(search: string) {
return parseKeyValue(search);
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L73
decodeHash(hash: string) {
@ -193,7 +195,9 @@ export class AngularJSUrlCodec implements UrlCodec {
}
}
areEqual(valA: string, valB: string) { return this.normalize(valA) === this.normalize(valB); }
areEqual(valA: string, valB: string) {
return this.normalize(valA) === this.normalize(valB);
}
// https://github.com/angular/angular.js/blob/864c7f0/src/ng/urlUtils.js#L60
parse(url: string, base?: string) {

View File

@ -27,7 +27,7 @@ export function deepEqual(a: any, b: any): boolean {
}
}
export function isAnchor(el: (Node & ParentNode) | Element | null): el is HTMLAnchorElement {
export function isAnchor(el: (Node&ParentNode)|Element|null): el is HTMLAnchorElement {
return (<HTMLAnchorElement>el).href !== undefined;
}