Skip to content

Commit 01d4e74

Browse files
committed
Refactoring! Use 2 space instead of tab char.
1 parent 093ed06 commit 01d4e74

20 files changed

+1677
-1591
lines changed

Gruntfile.js

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
module.exports = function (grunt) {
2-
grunt.initConfig({
1+
module.exports = function(grunt) {
2+
grunt.initConfig({
33

4-
bump: {
4+
bump : {
55
options: {
6-
files: ['package.json', 'noty.jquery.json', 'bower.json', 'js/noty/jquery.noty.js'],
7-
updateConfigs: [],
8-
commit: false,
9-
commitMessage: 'Release v%VERSION%',
10-
commitFiles: ['-a'],
11-
createTag: true,
12-
tagName: 'v%VERSION%',
13-
tagMessage: 'Version %VERSION%',
14-
push: false,
15-
pushTo: 'upstream',
6+
files : ['package.json', 'noty.jquery.json', 'bower.json', 'js/noty/jquery.noty.js'],
7+
updateConfigs : [],
8+
commit : false,
9+
commitMessage : 'Release v%VERSION%',
10+
commitFiles : ['-a'],
11+
createTag : true,
12+
tagName : 'v%VERSION%',
13+
tagMessage : 'Version %VERSION%',
14+
push : false,
15+
pushTo : 'upstream',
1616
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d'
1717
}
1818
},
19-
concat: {
20-
dist: {
21-
src: ['js/noty/jquery.noty.js', 'js/noty/layouts/*.js', 'js/noty/themes/*.js'],
22-
dest: 'js/noty/packaged/jquery.noty.packaged.js'
23-
}
24-
},
19+
concat: {
20+
dist: {
21+
src : ['js/noty/jquery.noty.js', 'js/noty/layouts/*.js', 'js/noty/themes/*.js'],
22+
dest: 'js/noty/packaged/jquery.noty.packaged.js'
23+
}
24+
},
2525

26-
uglify: {
27-
options: {
26+
uglify: {
27+
options : {
2828
preserveComments: function(a) {
2929
return !!(a.start.file == 'js/noty/jquery.noty.js' && a.start.line == 11);
3030
}
3131
},
32-
minifyJS: {
33-
files: {
34-
'js/noty/packaged/jquery.noty.packaged.min.js': ['js/noty/jquery.noty.js', 'js/noty/layouts/*.js', 'js/noty/themes/*.js']
35-
}
36-
}
37-
}
38-
});
32+
minifyJS: {
33+
files: {
34+
'js/noty/packaged/jquery.noty.packaged.min.js': ['js/noty/jquery.noty.js', 'js/noty/layouts/*.js', 'js/noty/themes/*.js']
35+
}
36+
}
37+
}
38+
});
3939

40-
grunt.loadNpmTasks('grunt-contrib-uglify');
41-
grunt.loadNpmTasks('grunt-contrib-concat');
42-
grunt.loadNpmTasks('grunt-bump');
40+
grunt.loadNpmTasks('grunt-contrib-uglify');
41+
grunt.loadNpmTasks('grunt-contrib-concat');
42+
grunt.loadNpmTasks('grunt-bump');
4343

44-
grunt.registerTask('build', ['bump', 'concat', 'uglify:minifyJS']);
45-
grunt.registerTask('conc', ['concat']);
46-
grunt.registerTask('ugly', ['uglify:minifyJS']);
44+
grunt.registerTask('build', ['bump', 'concat', 'uglify:minifyJS']);
45+
grunt.registerTask('conc', ['concat']);
46+
grunt.registerTask('ugly', ['uglify:minifyJS']);
4747
};

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name" : "noty",
3-
"version" : "2.2.4",
3+
"version" : "2.2.5",
44
"authors" : [
55
"Nedim Arabacı"
66
],

0 commit comments

Comments
 (0)