From 34e55d86d56f7b0ebacef259c8957dcd4b854a6b Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Thu, 21 Feb 2013 10:54:11 -0800 Subject: [PATCH] Fixed banned and changed quote style --- Gruntfile.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 66233645..84022eb5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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: "", + 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: [ "" ].concat(sources),