Permalink
Browse files

AC: Fix jshint grunt task post 0.4.0 upgrade

  • Loading branch information...
1 parent e7e5a97 commit e766f48f80c1ee1fa416eb742a24e42bdc3b9f2a @andrewchilds andrewchilds committed Mar 9, 2013
Showing with 7 additions and 9 deletions.
  1. +7 −9 Gruntfile.js
View
16 Gruntfile.js
@@ -40,9 +40,6 @@ module.exports = function(grunt) {
dest: 'app/public/js/bundle/tt.min.js'
}
},
- lint: {
- all: ['app/public/js/*.js']
- },
jshint: {
options: {
browser: true,
@@ -55,13 +52,14 @@ module.exports = function(grunt) {
quotmark: 'single',
undef: true,
unused: false,
- trailing: true
+ trailing: true,
+ globals: {
+ TT: true,
+ Hogan: true,
+ HoganTemplates: true
+ }
},
- globals: {
- TT: true,
- Hogan: true,
- HoganTemplates: true
- }
+ tt: ['app/public/js/*.js']
},
watch: {
files: [

0 comments on commit e766f48

Please sign in to comment.