Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-336

UI elements code clean up

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: UI

      Description

      In order to maintain some consistency in UI elements before the release, do some code formatting clean up:

      • remove wrapping function and “use strict” from UI elements.
      • fix indentation.
      • move <script> code blocks inside <dom-module> as a good practice.

      https://www.polymer-project.org/2.0/start/first-element/step-2
      "At the end of the element definition is some JavaScript that registers the element. If the element has a <dom-module>, this script is usually placed inside the <dom-module> to keep everything together."

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: