Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7096] MobileWeb: Add line and filename to log functions at compile time

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-05-01T22:23:33.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsMobileWeb
Labelslinvalid, tbs-future
ReporterChris Barber
AssigneeChris Barber
Created2012-01-11T10:49:52.000+0000
Updated2018-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.

Comments

  1. Lee Morris 2017-05-01

    Closing ticket as "Won't Fix" as MobileWeb is no longer supported.
  2. Eric Merriman 2018-04-04

    Closing as will not fix.

JSON Source