Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Commit

Permalink
Merge branch 'master' into 2.20
Browse files Browse the repository at this point in the history
  • Loading branch information
whitef0x0 committed Nov 21, 2017
2 parents 49141e6 + ff24843 commit 9ff247f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion app/views/form.server.view.pug
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,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)
Expand Down
2 changes: 1 addition & 1 deletion config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/');
};
Expand Down
5 changes: 1 addition & 4 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,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']);
Expand Down

0 comments on commit 9ff247f

Please sign in to comment.