Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-17492

Code Processor: console.log throws an error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Code Processor
    • Labels:
    • Environment:

      Appcelerator Studio: 3.3.0.201407111535
      Titanium SDK: 3.3.0 GA
      CLI: 3.3.0
      Alloy: 1.4.1
      Mac OSX version 10.9.4

      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

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              vchidambaram Visalakshi Chidambaram
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-19070
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration