diff --git a/Console/console_common.ts b/Console/console_common.ts index e612ff0aa..7d1402d01 100644 --- a/Console/console_common.ts +++ b/Console/console_common.ts @@ -285,15 +285,6 @@ export class TKConsole { } public trace(): void { - // unsless we have a proper way to get the target OS this cannot be used - // currently this introduced a console <=> application cyclic dependency - - //this._nativeClass.log('=== trace(): JS stack ===') - // if (i.TargetOS.Android == targetOS) { - // var e = new Error('console.trace()'); - // this.log(e.stack); - //} - //else if (i.TargetOS.iOS == targetOS) { var callstack = []; var currentFunction = arguments.callee.caller; while (currentFunction) { @@ -306,7 +297,6 @@ export class TKConsole { currentFunction = currentFunction.caller; this.log(callstack.join('\n')); } - //} } public dump(obj: any): void { diff --git a/Location/location.android.ts b/Location/location.android.ts index 9d71527bf..c308ddc7b 100644 --- a/Location/location.android.ts +++ b/Location/location.android.ts @@ -154,7 +154,7 @@ export class LocationManager { var it = providers.iterator(); while (it.hasNext()) { var element = it.next(); - console.log('found provider: ' + element); + //console.log('found provider: ' + element); var location = this.androidLocationManager.getLastKnownLocation(element); if (location) { return LocationManager.locationFromAndroidLocation(location); diff --git a/Location/location.ios.ts b/Location/location.ios.ts index 21911c802..0220a5005 100644 --- a/Location/location.ios.ts +++ b/Location/location.ios.ts @@ -85,7 +85,7 @@ export class LocationManager { implementation: { locationManagerDidUpdateLocations: function (manager, locations) { - console.log('location received: ' + locations.count()); + //console.log('location received: ' + locations.count()); for (var i = 0; i < locations.count(); i++) { this.onLocation(LocationManager.locationFromCLLocation(locations.objectAtIndex(i))); }