mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-14 20:35:47 +01:00
Build: Generate headers in concat task, remove from src
This commit is contained in:
10
Gruntfile.js
10
Gruntfile.js
@@ -6,6 +6,16 @@ module.exports = function(grunt) {
|
|||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
pkg: grunt.file.readJSON("package.json"),
|
pkg: grunt.file.readJSON("package.json"),
|
||||||
concat: {
|
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
|
// used to copy to dist folder
|
||||||
dist: {
|
dist: {
|
||||||
files: {
|
files: {
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|
||||||
function stripHtml(value) {
|
function stripHtml(value) {
|
||||||
|
|||||||
10
src/core.js
10
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($) {
|
(function($) {
|
||||||
|
|
||||||
$.extend($.fn, {
|
$.extend($.fn, {
|
||||||
|
|||||||
Reference in New Issue
Block a user