Skip to content

Commit 55501e4

Browse files
committed
Use tabs in Gruntfile instead of spaces
1 parent 08d115d commit 55501e4

File tree

1 file changed

+51
-51
lines changed

1 file changed

+51
-51
lines changed

grunt.js

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
11
/*global module:false*/
22
module.exports = function(grunt) {
33

4-
// Project configuration.
5-
grunt.initConfig({
6-
pkg: '<json:package.json>',
7-
meta: {
8-
banner: '/*!\n' +
4+
// Project configuration.
5+
grunt.initConfig({
6+
pkg: '<json:package.json>',
7+
meta: {
8+
banner: '/*!\n' +
99
' * <%= pkg.title || pkg.name %> v<%= pkg.version %>\n' +
1010
' * <%= pkg.homepage %>\n' +
1111
' * \n' +
12-
' * Copyright <%= grunt.template.today("yyyy") %>, <%= pkg.author.name %>\n' +
13-
' * This content is released under the <%= _.pluck(pkg.licenses, "type").join(", ") %> license<%= pkg.licenses.length === 1 ? "" : "s" %>\n' +
14-
' * <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' +
15-
' */',
12+
' * Copyright <%= grunt.template.today("yyyy") %>, <%= pkg.author.name %>\n' +
13+
' * This content is released under the <%= _.pluck(pkg.licenses, "type").join(", ") %> license<%= pkg.licenses.length === 1 ? "" : "s" %>\n' +
14+
' * <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' +
15+
' */',
1616
microbanner: '/*! <%= pkg.title || pkg.name %> v<%= pkg.version %> | Copyright <%= grunt.template.today("yyyy") %>, <%= pkg.author.name %> | <%= pkg.homepage %> | <%= _.pluck(pkg.licenses, "url").join(", ") %> */'
17-
},
18-
lint: {
19-
files: ['grunt.js', 'src/**/*.js']
20-
},
21-
concat: {
22-
dist: {
23-
src: ['<banner:meta.banner>', '<file_strip_banner:src/<%= pkg.name %>.js>'],
24-
dest: '<%= pkg.name %>.js'
25-
}
26-
},
27-
min: {
28-
dist: {
29-
src: ['<banner:meta.microbanner>', '<config:concat.dist.dest>'],
30-
dest: '<%= pkg.name %>.min.js'
31-
}
32-
},
33-
watch: {
34-
files: '<config:lint.files>',
35-
tasks: 'lint'
36-
},
37-
jshint: {
38-
options: {
39-
curly: false,
40-
eqeqeq: true,
41-
immed: false,
42-
latedef: true,
43-
newcap: true,
44-
noarg: true,
45-
sub: true,
46-
undef: true,
47-
boss: true,
48-
eqnull: true,
49-
browser: true
50-
},
51-
globals: {
52-
jQuery: true
53-
}
54-
},
55-
uglify: {}
56-
});
17+
},
18+
lint: {
19+
files: ['grunt.js', 'src/**/*.js']
20+
},
21+
concat: {
22+
dist: {
23+
src: ['<banner:meta.banner>', '<file_strip_banner:src/<%= pkg.name %>.js>'],
24+
dest: '<%= pkg.name %>.js'
25+
}
26+
},
27+
min: {
28+
dist: {
29+
src: ['<banner:meta.microbanner>', '<config:concat.dist.dest>'],
30+
dest: '<%= pkg.name %>.min.js'
31+
}
32+
},
33+
watch: {
34+
files: '<config:lint.files>',
35+
tasks: 'lint'
36+
},
37+
jshint: {
38+
options: {
39+
curly: false,
40+
eqeqeq: true,
41+
immed: false,
42+
latedef: true,
43+
newcap: true,
44+
noarg: true,
45+
sub: true,
46+
undef: true,
47+
boss: true,
48+
eqnull: true,
49+
browser: true
50+
},
51+
globals: {
52+
jQuery: true
53+
}
54+
},
55+
uglify: {}
56+
});
5757

58-
// Default task.
59-
grunt.registerTask('default', 'lint concat min');
58+
// Default task.
59+
grunt.registerTask('default', 'lint concat min');
6060

6161
};

0 commit comments

Comments
 (0)