Fixed
Details
Assignee
Alejandro GalueAlejandro GalueReporter
Alejandro GalueAlejandro GalueComponents
Fix versions
Affects versions
Priority
Minor
Details
Details
Assignee
Alejandro Galue
Alejandro GalueReporter
Alejandro Galue
Alejandro GalueComponents
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created April 27, 2016 at 11:39 AM
Updated April 29, 2016 at 11:22 AM
Resolved April 29, 2016 at 7:32 AM
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.