diff --git a/app/views/form.server.view.pug b/app/views/form.server.view.pug index 8825ce02..adfb2b24 100644 --- a/app/views/form.server.view.pug +++ b/app/views/form.server.view.pug @@ -83,7 +83,6 @@ html(lang='en', xmlns='http://www.w3.org/1999/xhtml') script(type='text/javascript', src=bowerJSFile) // end Bower JS dependencies - //Application JavaScript Files each jsFile in formJSFiles script(type='text/javascript', src=jsFile) diff --git a/config/config.js b/config/config.js index d304f42b..7a32033c 100755 --- a/config/config.js +++ b/config/config.js @@ -64,7 +64,7 @@ module.exports.removeRootDir = function(files, removeRoot, addRoot) { */ module.exports.getBowerFormJSAssets = function() { if(process.env.NODE_ENV === 'production'){ - return '/static/dist/vendor.min.js' + return ['/static/lib/angular/angular.min.js', '/static/dist/vendor.min.js', '/static/lib/angular-ui-date/src/date.js'] } return this.removeRootDir(minBowerFiles('**/**.js'), 'public/', 'static/'); }; diff --git a/gruntfile.js b/gruntfile.js index f098cffd..75868a9f 100755 --- a/gruntfile.js +++ b/gruntfile.js @@ -297,10 +297,7 @@ module.exports = function(grunt) { // Debug task. grunt.registerTask('debug', ['lint', 'html2js:main', 'html2js:forms', 'concurrent:debug']); - - // Secure task(s). - grunt.registerTask('secure', ['env:secure', 'lint', 'html2js:main', 'html2js:forms', 'concurrent:default']); - + // Lint task(s). grunt.registerTask('lint', ['jshint', 'csslint']); grunt.registerTask('lint:tests', ['jshint:allTests']);