Fixed banned and changed quote style

This commit is contained in:
Ian Gilman 2013-02-21 10:54:11 -08:00
parent d6dfc15351
commit 34e55d86d5

View File

@ -1,12 +1,12 @@
module.exports = function(grunt) {
grunt.loadNpmTasks("grunt-contrib-compress");
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks("grunt-contrib-concat");
grunt.loadNpmTasks("grunt-contrib-jshint");
grunt.loadNpmTasks("grunt-contrib-uglify");
grunt.loadNpmTasks("grunt-contrib-qunit");
grunt.loadNpmTasks("grunt-contrib-connect");
grunt.loadNpmTasks("grunt-contrib-watch");
var distribution = "build/openseadragon.js",
minified = "build/openseadragon.min.js",
@ -42,10 +42,10 @@ module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: "<json:package.json>",
pkg: grunt.file.readJSON("package.json"),
concat: {
options: {
banner: "/**\n * @version <%= pkg.name %> <%= pkg.version %>\n */"
banner: "/**\n * @version <%= pkg.name %> <%= pkg.version %>\n */\n\n"
},
dist: {
src: [ "<banner>" ].concat(sources),