namespaces removed (except Application)

This commit is contained in:
Vladimir Enchev
2014-03-24 11:16:38 +02:00
parent d5a91269f6
commit 1b6fdae4a9
29 changed files with 1930 additions and 2040 deletions

View File

@ -1,26 +1,22 @@
export module tk {
export class ConsoleHelper {
// FIXME: we should use Foundation.NSLog() but it currently does not work
static log(message: string): void {
log('log: ' + message);
}
static info(message: string): void {
log('info: ' + message);
}
static error(message: string): void {
log('error: ' + message);
}
static warn(message: string): void {
log('warning: ' + message);
}
static timeMillis(): number {
return QuartzCore.CACurrentMediaTime() * 1000;
}
export class ConsoleHelper {
// FIXME: we should use Foundation.NSLog() but it currently does not work
static log(message: string): void {
log('log: ' + message);
}
}
static info(message: string): void {
log('info: ' + message);
}
static error(message: string): void {
log('error: ' + message);
}
static warn(message: string): void {
log('warning: ' + message);
}
static timeMillis(): number {
return QuartzCore.CACurrentMediaTime() * 1000;
}
}