Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8377

Applying some organizational changes on the Requisitions UI (Grunt, JSHint, Dist)

    XMLWordPrintable

    Details

      Description

      I finally decided to organize and fix the JSHint warnings, and make Grunt happy for the Requisitions UI, in preparation of the future merging of the JavaScript dependencies.

      I centralized all the common jshint settings on .jshintrc and added the personalized ones directly on some JS files; besides applying the remaining fixes based on the suggestions I got from jshint.

      Also, I fixed the default tasks on Gruntfile.js in order to create a minimized version of the templates and the custom code for the requisitions UI. I'm not planning to use that at the moment, I just wanted to be able to run "grunt" without parameters and everything is built properly until the end without errors or warning.

      IMPORTANT: There are no significant changes on the JavaScript files or the HTML Templates of the Angular Code for Requisitions. Only the changes required to make JSHint happy have been applied.

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: