Build: Fix minified header, use actual new lines.

Also fix homepage URL in source

Fixes #1053
This commit is contained in:
Jörn Zaefferer
2014-03-31 17:55:23 +02:00
parent ca20504037
commit aa2f21afc2
2 changed files with 5 additions and 5 deletions

View File

@@ -18,10 +18,10 @@ grunt.initConfig({
options: {
preserveComments: false,
banner: "/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - " +
"<%= grunt.template.today('m/d/yyyy') %>\\n" +
"<%= pkg.homepage ? '* ' + pkg.homepage + '\\n' : '' %>" +
"* Copyright (c) <%= grunt.template.today('yyyy') %> <%= pkg.author.name %>;" +
" Licensed <%= _.pluck(pkg.licenses, 'type').join(', ') %> */"
"<%= grunt.template.today('m/d/yyyy') %>\n" +
" * <%= pkg.homepage %>\n" +
" * Copyright (c) <%= grunt.template.today('yyyy') %> <%= pkg.author.name %>;" +
" Licensed <%= _.pluck(pkg.licenses, 'type').join(', ') %> */\n"
},
all: {
files: {

View File

@@ -1,7 +1,7 @@
/*!
* jQuery Validation Plugin 1.12.0pre
*
* http://jqueryvalidation.org//
* http://jqueryvalidation.org/
*
* Copyright 2013 Jörn Zaefferer
* Released under the MIT license: