Renamed image-impl to image-native. Renamed console-helper to console-native.

This commit is contained in:
atanasovg
2014-05-15 11:33:53 +03:00
parent 6264f82f85
commit 4f791e5c31
9 changed files with 16 additions and 16 deletions

View File

@@ -0,0 +1,22 @@
// TODO: we should use Foundation.NSLog() but it currently does not work
// TODO: Is there a better way to implement the info/warn/error
export var helper_log = function (message: string) {
log('log: ' + message);
}
export var info = function (message: string) {
log('info: ' + message);
}
export var error = function (message: string) {
log('error: ' + message);
}
export var warn = function (message: string) {
log('warning: ' + message);
}
export var timeMillis = function (): number {
return QuartzCore.CACurrentMediaTime() * 1000;
}