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
*.zip
test.html
*.log
*.log

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

@ -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']);
};
};

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

Loading…
Cancel
Save