Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17492] Code Processor: console.log throws an error

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2016-08-24T19:46:47.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCode Processor
Labelsqe-3.3.0
ReporterVisalakshi Chidambaram
AssigneePraveen Innamuri
Created2014-08-12T10:07:23.000+0000
Updated2017-03-20T17:32:10.000+0000

Description

When console.log is used in an app, the app runs on both device and emulator. However, running the code analyzer for this app would show an error. Steps to reproduce: 1. Create a sample classic app 2. Include the following code: console.log("hello!"); 3. Project Context Menu > Code Analysis > choose a platform Actual result of the code analyzer shows: Errors : "console" is not defined and a red cross appears on the editor of the app.js indicating it as a syntax error. Expected result: No error should be shown

Attachments

FileDateSize
console_error.png2014-08-12T10:07:23.000+0000131064
console_not_defined.png2014-08-12T10:07:23.000+000031167

Comments

  1. Chris Barber 2016-08-24

    Code processor is dead.
  2. Lee Morris 2017-03-20

    Closing ticket as code processor is no longer supported.

JSON Source