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

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.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Alejandro Galue April 28, 2016 at 9:16 AM

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

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