module.exports = function(grunt) {
	'use strict';

	grunt.initConfig({
		pkg: grunt.file.readJSON('package.json'),

		qunit: {
			dist: 'http://localhost:9537/test/widget.html'
		},

		connect: {
			server: {
				options: {
					port: 9537,
					base: '.'
				}
			}
		},

		watch: {
			gruntfile: {
				files: '<%= jshint.gruntfile %>',
				tasks: 'jshint:gruntfile'
			},

			dist: {
				files: '<%= jshint.dist %>',
				tasks: 'jshint:dist'
			},

			test: {
				files: '<%= jshint.test %>',
				tasks: 'jshint:test'
			},

			minify: {
				files: '<%= jshint.dist %>',
				tasks: 'minify'
			}
		},

		uglify: {
			options: {
				banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
			},

			dist: {
				expand: true,
				cwd: 'lib/',
				src: '**/*.js',
				dest: 'www/'
			}
		},

		minjson: {
			dist: {
				expand: true,
				cwd: 'lib/',
				src: '**/*.json',
				dest: 'www/'
			}
		},

		jshint: {
			gruntfile: 'Gruntfile.js',
			dist: 'lib/**/*.{js,json}',
			test: 'test/**/*.js',

			options: {
				immed: true,
				latedef: true,
				newcap: true,
				noarg: true,
				quotmark: true,
				sub: true,
				undef: true,
				boss: true,
				eqnull: false,
				regexdash: true,
				smarttabs: true,
				strict: false,
				node: true,
				browser: true,

				globals: {
					Gittip: true,

					// JSHint doesn't like XDomainRequest otherwise
					XDomainRequest: true
				}
			}
		}
	});

	grunt.loadNpmTasks('grunt-minjson');
	grunt.loadNpmTasks('grunt-contrib-uglify');
	grunt.loadNpmTasks('grunt-contrib-jshint');
	grunt.loadNpmTasks('grunt-contrib-watch');
	grunt.loadNpmTasks('grunt-contrib-qunit');
	grunt.loadNpmTasks('grunt-contrib-connect');

	grunt.registerTask('default', ['test', 'minify']);
	grunt.registerTask('minify', ['uglify', 'minjson']);
	grunt.registerTask('test', ['jshint']); //, 'connect', 'qunit']);
};

@@ -415,32 +415,33 @@
 %25%3E',%0A%09%09%09%09tasks: 
+%5B
 'jshint:dist'%0A%09%09
@@ -437,16 +437,32 @@
 nt:dist'
+, 'uglify:dist'%5D
 %0A%09%09%09%7D,%0A%0A
@@ -497,32 +497,32 @@
 shint.test %25%3E',%0A
+
 %09%09%09%09tasks: 'jshi
@@ -534,81 +534,8 @@
 st'%0A
-%09%09%09%7D,%0A%0A%09%09%09minify: %7B%0A%09%09%09%09files: '%3C%25= jshint.dist %25%3E',%0A%09%09%09%09tasks: 'minify'%0A
 %09%09%09%7D

Fix Gruntfile.js