Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-5130

backgroundGradient in tss file throws erroneous Studio Syntax error but still works fine

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Appcelerator Studio, build: 3.1.1.201306131423
      3.1.1GA SDK

      Description

      backgroundGradient in tss file throws erroneous Studio Syntax error but still works fine

      Copied the background gradient example from the online docs at:

      http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.UI.Window-property-backgroundGradient

      Applied it to the Default Alloy project to the Window .container in the index.tss file.

      I get two syntax errors. One on the colors property (unexpected token "["), the other on line 1 (cannot recover from the syntax error).

      However, everything runs fine.

      See attached screen shots.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mxia Michael Xia
                Reporter:
                lbrenman Leor Brenman
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: