Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-6870

Remove dangling commas

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Studio Designer

      Description

      Currently when Studio generates layouts it leaves dangling commas:

      • After the `type` declaration from the `document` property
      • After the declaration of the `document` property

      Example:

        <script>
          Polymer({
            is: 'nuxeo-process-edit-layout',
            behaviors: [Nuxeo.LayoutBehavior],
            properties: {        /**
               * @doctype Process
               */
              document: {
                type: Object,
              },
            }
          });
        </script>
      

      This is visually very confusing and I have wasted hours (literally) troubleshooting problems only to realize I pasted a function inside the properties block.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jfletcher Joshua Fletcher
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: