Formatting files (newline, trailing spaces, ...)

This commit is contained in:
Dennis Neufeld 2015-08-04 18:21:03 +02:00
parent a981cb8e54
commit 9837243bc9
4 changed files with 10 additions and 10 deletions

2
.gitignore vendored
View file

@ -6,4 +6,4 @@
TODO
*.zip
test.html
*.log
*.log

View file

@ -14,4 +14,4 @@
"unused" : true,
// External variabls and plugins
"predef": [ "AdminLTEOptions", "FastClick", "moment", "Morris", "Chart" ]
}
}

View file

@ -7,7 +7,7 @@
module.exports = function (grunt) {
'use strict';
grunt.initConfig({
@ -95,19 +95,19 @@ module.exports = function (grunt) {
}
}
},
// Optimize images
image: {
dynamic: {
files: [{
expand: true,
cwd: 'build/img/',
cwd: 'build/img/',
src: ['**/*.{png,jpg,gif,svg}'],
dest: 'dist/img/'
}]
}
},
// Validate JS code
jshint: {
options: {
@ -123,7 +123,7 @@ module.exports = function (grunt) {
src: 'dist/js/pages/*.js'
}
},
csslint: {
options: {
csslintrc: 'build/less/.csslintrc'
@ -132,7 +132,7 @@ module.exports = function (grunt) {
'dist/css/AdminLTE.css',
]
},
// Delete images in build directory
// After compressing the images in the build/img dir, there is no need
// for them
@ -162,4 +162,4 @@ module.exports = function (grunt) {
// The default task (running "grunt" in console) is "watch"
grunt.registerTask('default', ['watch']);
};
};

View file

@ -778,4 +778,4 @@
<!-- AdminLTE for demo purposes -->
<script src="../../dist/js/demo.js" type="text/javascript"></script>
</body>
</html>
</html>