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

Remove dangling commas

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Do
    • 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

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 week, 5 hours
                1w 5h
                Remaining:
                Time Spent - 1 day, 1 hour Remaining Estimate - 4 days, 4 hours
                4d 4h
                Logged:
                Time Spent - 1 day, 1 hour Remaining Estimate - 4 days, 4 hours
                1d 1h