Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffharrell committed Oct 7, 2013
1 parent cd9c976 commit 2441114
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
36 changes: 18 additions & 18 deletions GruntFile.js
Expand Up @@ -5,32 +5,32 @@ module.exports = function (grunt) {

// Project configuration
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
concat: {
dist: {
src: ['src/minicart.js', 'lib/json2.js'],
dest: 'dist/minicart.js'
}
},
pkg: grunt.file.readJSON('package.json'),
concat: {
dist: {
src: ['src/minicart.js', 'lib/json2.js'],
dest: 'dist/minicart.js'
}
},
jshint: {
options: grunt.file.readJSON('.jshintrc'),
all: ['src/*.js', 'test/*.js']
options: grunt.file.readJSON('.jshintrc'),
all: ['src/*.js', 'test/*.js']
},
uglify: {
options: {
banner: '/*!\n * <%= pkg.name %>\n *\n * <%= pkg.description %>\n *\n * @version <%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n * @author <%= pkg.author.name %> <<%= pkg.author.url %>>\n * @url <%= pkg.url %> \n * @license <%= pkg.licenses[0].type %> <<%= pkg.licenses[0].url %>>\n */'
},
uglify: {
options: {
banner: '/*!\n * <%= pkg.name %>\n *\n * <%= pkg.description %>\n *\n * @version <%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %>\n * @author <%= pkg.author.name %> <<%= pkg.author.url %>>\n * @url <%= pkg.url %> \n * @license <%= pkg.licenses[0].type %> <<%= pkg.licenses[0].url %>>\n */'
},
dist: {
files: {
'dist/minicart.min.js': ['dist/minicart.js']
}
'dist/minicart.min.js': ['dist/minicart.js']
}
}
}
});

grunt.task.loadNpmTasks('grunt-contrib-concat');
grunt.task.loadNpmTasks('grunt-contrib-jshint');
grunt.task.loadNpmTasks('grunt-contrib-uglify');
grunt.task.loadNpmTasks('grunt-contrib-concat');
grunt.task.loadNpmTasks('grunt-contrib-jshint');
grunt.task.loadNpmTasks('grunt-contrib-uglify');


// Tasks
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -58,7 +58,7 @@ Boolean to determine if the cart should "peek" when it's hidden with items. Defa
`paypalURL`
The PayPal URL to use if you are accessing sandbox or another version of the PayPal website. Default `'https://www.paypal.com/cgi-bin/webscr'`.

`resetCartOnSuccess`
`resetCartOnSuccess`
Boolean to determine if the cart should be reset automatically on payment completion. Default `true`.

`strings`
Expand Down

0 comments on commit 2441114

Please sign in to comment.