Details
-
Type:
Enhancement
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 17.1.1
-
Fix Version/s: 18.0.0, Meridian-2016.1.0
-
Component/s: Web UI - Admin
-
Security Level: Default (Default Security Scheme)
-
Labels:None
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.