docs(clang): format updates

This commit is contained in:
Naomi Black
2015-06-01 23:14:19 -07:00
parent b746e0c9f0
commit dc060e8b64
5 changed files with 18 additions and 17 deletions

View File

@ -3,7 +3,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;
@ -119,7 +119,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