Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1022

Bad JS-Code when using '-' in element id

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Medium
    • Resolution: Won't Fix
    • Affects Version/s: Alloy 1.4.0, Alloy 1.3.1
    • Fix Version/s: None
    • Component/s: Tooling, XML
    • Labels:

      Description

      When I use the '-' char in element identifiers (e.g. <Button id="foo-bar"/>), the alloy code generator will generate bad JS-Code like

      $.__views.foo-bar = ...
      

        Attachments

          Activity

            People

            • Assignee:
              skypanther Tim Poulsen
              Reporter:
              a.boehlke André Böhlke
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration