[TIMOB-40] Via Tender: Bug in modules/tiui/ui.js with console.log function on line 99
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:50:11.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | ios, iphone |
| Reporter | Jeff Haynie |
| Assignee | Reggie Seagraves |
| Created | 2011-04-15T02:22:51.000+0000 |
| Updated | 2011-04-17T01:50:11.000+0000 |
Description
Assigned to http://support.appcelerator.net/discussions/support/10-bug-in-modulestiuiuijs-with-consolelog-function-on-line-99"> Tender issue #10. As reported in Tender:
There seems to be an bug in the modules/tiui/ui.js which is loaded by every Titanium app. The problem is on line 99:
// // override console.log to also send into our API logger // var old_log = console.log; console.log = function(msg) { Titanium.API.debug(msg); return old_log(msg); // line 99 };The reported error is a Type Error and occurs as soon as one uses the console.log function line "console.log('something')".
as of 0.5, we're no longer going to use/suppor tiui.js.