chore: run clang-format on code base.
This fixes several minor indentation issues (instanceof precendence, type declaration specificity, template string length calculation). This should also fix some flip-flop situations with template strings.
This commit is contained in:
@ -69,10 +69,8 @@ export class PerfLogFeatures {
|
||||
gc: boolean;
|
||||
frameCapture: boolean;
|
||||
|
||||
constructor({render = false, gc = false,
|
||||
frameCapture = false}: {render?: boolean,
|
||||
gc?: boolean,
|
||||
frameCapture?: boolean} = {}) {
|
||||
constructor({render = false, gc = false, frameCapture = false}:
|
||||
{render?: boolean, gc?: boolean, frameCapture?: boolean} = {}) {
|
||||
this.render = render;
|
||||
this.gc = gc;
|
||||
this.frameCapture = frameCapture;
|
||||
|
@ -141,8 +141,8 @@ export class ChromeDriverExtension extends WebDriverExtension {
|
||||
}
|
||||
}
|
||||
|
||||
function normalizeEvent(chromeEvent: StringMap<string, any>,
|
||||
data: StringMap<string, any>): StringMap<string, any> {
|
||||
function normalizeEvent(chromeEvent: StringMap<string, any>, data: StringMap<string, any>):
|
||||
StringMap<string, any> {
|
||||
var ph = chromeEvent['ph'];
|
||||
if (StringWrapper.equals(ph, 'S')) {
|
||||
ph = 'b';
|
||||
|
Reference in New Issue
Block a user