[TIMOB-7096] MobileWeb: Add line and filename to log functions at compile time
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-05-01T22:23:33.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | linvalid, tbs-future |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2012-01-11T10:49:52.000+0000 |
Updated | 2018-04-04T23:20:32.000+0000 |
Description
Once the AST parser is integrated into the compiler, it would be nice to rewrite log statements to include line numbers and filenames. To optimize file size, Ti.API.log("hi") would be rewritten to Ti.API.log(0, "hi") where "0" is a unique integer that is used to lookup the line number and filename from a compiled map appended to the end of titanium.js.
Closing ticket as "Won't Fix" as MobileWeb is no longer supported.
Closing as will not fix.