Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Bug fixes and improvements
- Loading branch information
Kevin Batdorf
committed
Apr 5, 2014
1 parent
18fcad7
commit b7c6d4e45bbd97d82ded980202c3fafdd2e46eb8
Showing
34 changed files
with
1,568 additions
and
1,961 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,4 @@ | ||
.DS_Store | ||
node_modules | ||
src/vendor | ||
src/index.html |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,46 @@ | ||
module.exports = function (grunt) { | ||
|
||
grunt.initConfig({ | ||
jshint: { | ||
options: { | ||
browser: true, | ||
eqeqeq: true, | ||
undef: true, | ||
unused: true, | ||
jquery: true, | ||
expr: true | ||
}, | ||
main: { | ||
src: "src/js/jquery.liquid-slider.js" | ||
} | ||
}, | ||
uglify: { | ||
options: { | ||
mangle: true, | ||
compress: true, | ||
sourceMap: true, | ||
banner: "/*\n * Liquid Slider v2.0.12\n * Copyright 2012 Kevin Batdorf\n * http://liquidslider.com\n * MIT license\n */" | ||
}, | ||
main: { | ||
src: "src/js/jquery.liquid-slider.js", | ||
dest: "js/jquery.liquid-slider.min.js" | ||
} | ||
}, | ||
watch: { | ||
scripts: { | ||
files: ["src/js/jquery.liquid-slider.js"], | ||
tasks: ["jshint"], | ||
options: { | ||
livereload: true | ||
} | ||
} | ||
} | ||
}); | ||
|
||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks('grunt-contrib-uglify'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
|
||
grunt.registerTask('default', ['jshint', 'uglify']); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.