[TIMOB-7204] MobileWeb: Ti.API.log() does not properly print objects, arrays
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-16T11:12:45.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Sprint 2012-02, Release 2.0.0, Release 1.8.1 |
Components | MobileWeb |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2012-01-16T10:32:57.000+0000 |
Updated | 2017-03-03T23:17:42.000+0000 |
Description
Given the following code:
var x = {a:1};
Ti.API.log(x);
It outputs "[LOG] [object Object]" instead of "[LOG]" followed by the object's value.
Pull request: https://github.com/appcelerator/titanium_mobile/pull/1185
Closing ticket.