Skip to content

Commit f5a995c

Browse files
committed
Build: Generate headers in concat task, remove from src
1 parent 689e296 commit f5a995c

File tree

3 files changed

+10
-20
lines changed

3 files changed

+10
-20
lines changed

Gruntfile.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ module.exports = function(grunt) {
66
grunt.initConfig({
77
pkg: grunt.file.readJSON("package.json"),
88
concat: {
9+
options: {
10+
banner: "/*!\n" +
11+
" * jQuery Validation Plugin v<%= pkg.version %>\n" +
12+
" *\n" +
13+
" * <%= pkg.homepage %>\n" +
14+
" *\n" +
15+
" * Copyright (c) <%= grunt.template.today('yyyy') %> <%= pkg.author.name %>\n" +
16+
" * Released under the <%= _.pluck(pkg.licenses, 'type').join(', ') %> license\n" +
17+
" */\n"
18+
},
919
// used to copy to dist folder
1020
dist: {
1121
files: {

src/additional/additional.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
/*!
2-
* jQuery Validation Plugin 1.12.0pre
3-
*
4-
* http://bassistance.de/jquery-plugins/jquery-plugin-validation/
5-
* http://docs.jquery.com/Plugins/Validation
6-
*
7-
* Copyright 2013 Jörn Zaefferer
8-
* Released under the MIT license:
9-
* http://www.opensource.org/licenses/mit-license.php
10-
*/
111
(function() {
122

133
function stripHtml(value) {

src/core.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
/*!
2-
* jQuery Validation Plugin 1.12.0pre
3-
*
4-
* http://jqueryvalidation.org/
5-
*
6-
* Copyright 2013 Jörn Zaefferer
7-
* Released under the MIT license:
8-
* http://www.opensource.org/licenses/mit-license.php
9-
*/
10-
111
(function($) {
122

133
$.extend($.fn, {

0 commit comments

Comments
 (0)