Skip to content

Commit

Permalink
Build: Generate headers in concat task, remove from src
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Mar 31, 2014
1 parent 689e296 commit f5a995c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 20 deletions.
10 changes: 10 additions & 0 deletions Gruntfile.js
Expand Up @@ -6,6 +6,16 @@ module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
concat: {
options: {
banner: "/*!\n" +
" * jQuery Validation Plugin v<%= pkg.version %>\n" +
" *\n" +
" * <%= pkg.homepage %>\n" +
" *\n" +
" * Copyright (c) <%= grunt.template.today('yyyy') %> <%= pkg.author.name %>\n" +
" * Released under the <%= _.pluck(pkg.licenses, 'type').join(', ') %> license\n" +
" */\n"
},
// used to copy to dist folder
dist: {
files: {
Expand Down
10 changes: 0 additions & 10 deletions src/additional/additional.js
@@ -1,13 +1,3 @@
/*!
* jQuery Validation Plugin 1.12.0pre
*
* http://bassistance.de/jquery-plugins/jquery-plugin-validation/
* http://docs.jquery.com/Plugins/Validation
*
* Copyright 2013 Jörn Zaefferer
* Released under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
(function() {

function stripHtml(value) {
Expand Down
10 changes: 0 additions & 10 deletions src/core.js
@@ -1,13 +1,3 @@
/*!
* jQuery Validation Plugin 1.12.0pre
*
* http://jqueryvalidation.org/
*
* Copyright 2013 Jörn Zaefferer
* Released under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/

(function($) {

$.extend($.fn, {
Expand Down

0 comments on commit f5a995c

Please sign in to comment.