feat: adjust formatting for clang-format v1.0.19.

This commit is contained in:
Martin Probst
2015-06-12 07:50:45 -07:00
parent 1c2abbc61d
commit a6e7123995
50 changed files with 363 additions and 350 deletions

View File

@ -1,12 +1,6 @@
export class Test {
firstItem;
constructor() {
this.doStuff();
}
otherMethod() {
}
doStuff() {
}
constructor() { this.doStuff(); }
otherMethod() {}
doStuff() {}
}

View File

@ -20,19 +20,15 @@ export class MyClass {
* Create a new MyClass
* @param {String} name The name to say hello to
*/
constructor(name) {
this.message = 'hello ' + name;
}
constructor(name) { this.message = 'hello ' + name; }
/**
* Return a greeting message
*/
greet() {
return this.message;
}
greet() { return this.message; }
}
/**
* An exported function
*/
export var myFn = (val:number) => return val*2;
export var myFn = (val: number) => return val * 2;