module.exports = function(grunt) {

	// Project configuration.
	grunt.initConfig({
		jshint: {
			files: ['src/js/'],
			options: {
				ignores: ['src/js/libs/*.js', 'src/js/r.js'],
				"evil": true,
				"browser": true,
				"trailing": true,
				"curly":true,
				"immed":true,
				"latedef":true,
				"newcap":true,
				"noarg":true,
				"sub":true,
				"undef":true,
				"unused":true,
				"eqnull":true,
				"node":true,
				"expr":true,
				"laxcomma":true,
				"es3":true,
				"globals": { "define": false, "require": false }
			}
		},

		/**
		 * r.js optimizer
		 */
		requirejs: {
			compile : {
				options : {
					// Creates a dist folder with optimized js
					dir: "dist",
					appDir: 'src',
					baseUrl: 'js',
					//optimize:'none', // toggle this for fast optimized debuging

					// Tells Require.js to look at main.js for all shim and path configurations
					mainConfigFile: 'src/js/config.js',

					// Modules to be optimized:
					// we'll keep jquery and underscore seperate so they can be used by all modules
					modules: [
						{
							name: "app/API",
							exclude: ['underscore','jquery','backbone']
						},
						{
							name: "extensions/dscore/Scorer",
							exclude: ["app/API",'underscore','jquery']
						},
						{
							name: "extensions/iat/component",
							include: "text!extensions/iat/jst/layout.jst", // include the template for the simpleLayout
							exclude: ["app/API",'underscore','jquery','extensions/dscore/Scorer']
						},
						{
							name: "extensions/iat/PIcomponent",
							include: "text!extensions/iat/jst/layout.jst", // include the template for the simpleLayout
							exclude: ["app/API",'underscore','jquery','extensions/dscore/Scorer']
						}
					]
				}
			}
		},

		docco: {
			src: ['tutorials/*.js']
		}
	});

	grunt.loadNpmTasks('grunt-docco');
	grunt.loadNpmTasks('grunt-contrib-jshint');
	grunt.loadNpmTasks('grunt-contrib-requirejs');

	// Default task(s).
	grunt.registerTask('default', ['jshint']);

	// build production stuff
	grunt.registerTask('build', ['requirejs','docco']);
};
@@ -1234,16 +1234,27 @@
 'jquery'
+,'backbone'
 %5D%0A%09%09%09%09%09%09

build fix