Fix non-front-end lint errors

Part of #54
This commit is contained in:
Rowan Manning
2013-11-11 10:53:00 +00:00
parent af0aec47ff
commit 6d7ca9a58a
2 changed files with 7 additions and 2 deletions

View File

@@ -3,7 +3,12 @@ module.exports = function (grunt) {
grunt.initConfig({
jshint: {
all: ['**/*.js', '!node_modules/**/*.js', '!public/js/vendor/**/*.js', '!public/js/site.min.js'],
all: [
'**/*.js',
'!node_modules/**/*.js',
'!public/js/vendor/**/*.js',
'!public/js/site.min.js'
],
options: {
es3: false,
indent: 4,

View File

@@ -40,7 +40,7 @@ function route (app) {
moment(result.date).format('YYYY-MM-DD'),
'.',
extension
].join('')
].join('');
}
app.express.get('/:id/:rid.csv', getTaskAndResult, function (req, res) {