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

pull/620/head
Dennis Neufeld 9 years ago
parent a981cb8e54
commit 9837243bc9

2
.gitignore vendored

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

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

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

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

Loading…
Cancel
Save