chore: reformat the code base using the clang-format 1.0.15.

This commit is contained in:
Martin Probst
2015-05-27 11:52:35 -07:00
parent 96f629d441
commit 2c25055828
10 changed files with 117 additions and 139 deletions

View File

@ -2,7 +2,7 @@ var _global: BrowserNodeGlobal = <any>(typeof window === 'undefined' ? global :
export {_global as global};
export var Type = Function;
export type Type = new (... args: any[]) => any;
export type Type = new (...args: any[]) => any;
export class BaseException extends Error {
message;
@ -116,7 +116,7 @@ export class StringWrapper {
}
static replaceAllMapped(s: string, from: RegExp, cb: Function): string {
return s.replace(from, function(... matches) {
return s.replace(from, function(...matches) {
// Remove offset & string from the result array
matches.splice(-2, 2);
// The callback receives match, p1, ..., pn