删除无用的.svn文件夹
This commit is contained in:
@ -1,23 +0,0 @@
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 66
|
||||
/svn/ecmall/!svn/ver/171/ecmall/public/js/jquery-validation-1.13.0
|
||||
END
|
||||
package.json
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 79
|
||||
/svn/ecmall/!svn/ver/171/ecmall/public/js/jquery-validation-1.13.0/package.json
|
||||
END
|
||||
README.md
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 76
|
||||
/svn/ecmall/!svn/ver/171/ecmall/public/js/jquery-validation-1.13.0/README.md
|
||||
END
|
||||
Gruntfile.js
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 79
|
||||
/svn/ecmall/!svn/ver/171/ecmall/public/js/jquery-validation-1.13.0/Gruntfile.js
|
||||
END
|
@ -1,152 +0,0 @@
|
||||
10
|
||||
|
||||
dir
|
||||
171
|
||||
https://42.121.52.247/svn/ecmall/ecmall/public/js/jquery-validation-1.13.0
|
||||
https://42.121.52.247/svn/ecmall
|
||||
|
||||
|
||||
|
||||
2014-07-24T09:08:22.540943Z
|
||||
171
|
||||
litie
|
||||
|
||||
|
||||
svn:special svn:externals svn:needs-lock
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
d8fde07f-0130-2f47-8851-2ad99dc1c468
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
0
|
||||
|
||||
Gruntfile.js
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2014-07-24T04:16:48.000000Z
|
||||
758ba1ddd7e88b3a9b8b211fa3b03e3c
|
||||
2014-07-24T09:08:22.540943Z
|
||||
171
|
||||
litie
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
4361
|
||||
|
||||
README.md
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2014-07-24T04:16:48.000000Z
|
||||
6cad6dae4adf81af676bcc51c3da7b0c
|
||||
2014-07-24T09:08:22.540943Z
|
||||
171
|
||||
litie
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
3123
|
||||
|
||||
demo
|
||||
dir
|
||||
|
||||
dist
|
||||
dir
|
||||
|
||||
lib
|
||||
dir
|
||||
|
||||
package.json
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2014-07-24T04:16:48.000000Z
|
||||
9bf1511df7bafbae6066353a5c372965
|
||||
2014-07-24T09:08:22.540943Z
|
||||
171
|
||||
litie
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
1071
|
||||
|
||||
src
|
||||
dir
|
||||
|
||||
test
|
||||
dir
|
||||
|
@ -1,206 +0,0 @@
|
||||
/*jshint node:true*/
|
||||
module.exports = function(grunt) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var banner,
|
||||
umdStart,
|
||||
umdMiddle,
|
||||
umdEnd,
|
||||
umdStandardDefine,
|
||||
umdAdditionalDefine,
|
||||
umdLocalizationDefine;
|
||||
|
||||
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";
|
||||
|
||||
// define UMD wrapper variables
|
||||
|
||||
umdStart = "(function( factory ) {\n" +
|
||||
"\tif ( typeof define === \"function\" && define.amd ) {\n";
|
||||
|
||||
umdMiddle = "\t} else {\n" +
|
||||
"\t\tfactory( jQuery );\n" +
|
||||
"\t}\n" +
|
||||
"}(function( $ ) {\n\n";
|
||||
|
||||
umdEnd = "\n}));";
|
||||
|
||||
umdStandardDefine = "\t\tdefine( [\"jquery\"], factory );\n";
|
||||
umdAdditionalDefine = "\t\tdefine( [\"jquery\", \"./jquery.validate\"], factory );\n";
|
||||
umdLocalizationDefine = "\t\tdefine( [\"jquery\", \"../jquery.validate\"], factory );\n";
|
||||
|
||||
grunt.initConfig({
|
||||
pkg: grunt.file.readJSON("package.json"),
|
||||
concat: {
|
||||
// used to copy to dist folder
|
||||
dist: {
|
||||
options: {
|
||||
banner: banner +
|
||||
umdStart +
|
||||
umdStandardDefine +
|
||||
umdMiddle,
|
||||
footer: umdEnd
|
||||
},
|
||||
files: {
|
||||
"dist/jquery.validate.js": [ "src/core.js", "src/*.js" ]
|
||||
}
|
||||
},
|
||||
extra: {
|
||||
options: {
|
||||
banner: banner +
|
||||
umdStart +
|
||||
umdAdditionalDefine +
|
||||
umdMiddle,
|
||||
footer: umdEnd
|
||||
},
|
||||
files: {
|
||||
"dist/additional-methods.js": [ "src/additional/additional.js", "src/additional/*.js" ]
|
||||
}
|
||||
}
|
||||
},
|
||||
uglify: {
|
||||
options: {
|
||||
preserveComments: false,
|
||||
banner: "/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - " +
|
||||
"<%= 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"
|
||||
},
|
||||
dist: {
|
||||
files: {
|
||||
"dist/additional-methods.min.js": "dist/additional-methods.js",
|
||||
"dist/jquery.validate.min.js": "dist/jquery.validate.js"
|
||||
}
|
||||
},
|
||||
all: {
|
||||
expand: true,
|
||||
cwd: "dist/localization",
|
||||
src: "**/*.js",
|
||||
dest: "dist/localization",
|
||||
ext: ".min.js"
|
||||
}
|
||||
},
|
||||
compress: {
|
||||
dist: {
|
||||
options: {
|
||||
mode: "zip",
|
||||
level: 1,
|
||||
archive: "dist/<%= pkg.name %>-<%= pkg.version %>.zip",
|
||||
pretty: true
|
||||
},
|
||||
src: [
|
||||
"changelog.txt",
|
||||
"demo/**/*.*",
|
||||
"dist/**/*.js",
|
||||
"Gruntfile.js",
|
||||
"lib/**/*.*",
|
||||
"package.json",
|
||||
"README.md",
|
||||
"src/**/*.*",
|
||||
"test/**/*.*"
|
||||
]
|
||||
}
|
||||
},
|
||||
qunit: {
|
||||
files: "test/index.html"
|
||||
},
|
||||
jshint: {
|
||||
options: {
|
||||
jshintrc: true
|
||||
},
|
||||
core: {
|
||||
src: "src/**/*.js"
|
||||
},
|
||||
test: {
|
||||
src: "test/*.js"
|
||||
},
|
||||
grunt: {
|
||||
src: "Gruntfile.js"
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
options: {
|
||||
atBegin: true
|
||||
},
|
||||
gruntfile: {
|
||||
files: "<%= jshint.grunt.src %>",
|
||||
tasks: [
|
||||
"jscs:grunt",
|
||||
"jshint:grunt"
|
||||
]
|
||||
},
|
||||
src: {
|
||||
files: "<%= jshint.core.src %>",
|
||||
tasks: [
|
||||
"jscs:core",
|
||||
"jshint:core",
|
||||
"concat",
|
||||
"qunit"
|
||||
]
|
||||
},
|
||||
test: {
|
||||
files: [
|
||||
"<%= jshint.test.src %>",
|
||||
"test/index.html"
|
||||
],
|
||||
tasks: [
|
||||
"jscs:test",
|
||||
"jshint:test"
|
||||
]
|
||||
}
|
||||
},
|
||||
jscs: {
|
||||
all: [ "<%= jshint.core.src %>", "<%= jshint.test.src %>", "<%= jshint.grunt.src %>" ]
|
||||
},
|
||||
copy: {
|
||||
dist: {
|
||||
options: {
|
||||
// append UMD wrapper
|
||||
process: function( content ) {
|
||||
return umdStart + umdLocalizationDefine + umdMiddle + content + umdEnd;
|
||||
}
|
||||
},
|
||||
src: "src/localization/*",
|
||||
dest: "dist/localization",
|
||||
expand: true,
|
||||
flatten: true,
|
||||
filter: "isFile"
|
||||
}
|
||||
},
|
||||
replace: {
|
||||
dist: {
|
||||
src: "dist/**/*.min.js",
|
||||
overwrite: true,
|
||||
replacements: [
|
||||
{
|
||||
from: "./jquery.validate",
|
||||
to: "./jquery.validate.min"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks("grunt-contrib-jshint");
|
||||
grunt.loadNpmTasks("grunt-contrib-qunit");
|
||||
grunt.loadNpmTasks("grunt-contrib-uglify");
|
||||
grunt.loadNpmTasks("grunt-contrib-concat");
|
||||
grunt.loadNpmTasks("grunt-contrib-compress");
|
||||
grunt.loadNpmTasks("grunt-contrib-watch");
|
||||
grunt.loadNpmTasks("grunt-jscs");
|
||||
grunt.loadNpmTasks("grunt-contrib-copy");
|
||||
grunt.loadNpmTasks("grunt-text-replace");
|
||||
|
||||
grunt.registerTask("default", [ "concat", "copy", "jscs", "jshint", "qunit" ]);
|
||||
grunt.registerTask("release", [ "default", "uglify", "replace", "compress" ]);
|
||||
grunt.registerTask("start", [ "concat", "watch" ]);
|
||||
|
||||
};
|
@ -1,72 +0,0 @@
|
||||
[jQuery Validation Plugin](http://jqueryvalidation.org/) - Form validation made easy
|
||||
================================
|
||||
|
||||
[](http://travis-ci.org/jzaefferer/jquery-validation)
|
||||
[](https://david-dm.org/jzaefferer/jquery-validation#info=devDependencies)
|
||||
|
||||
The jQuery Validation Plugin provides drop-in validation for your existing forms, while making all kinds of customizations to fit your application really easy.
|
||||
|
||||
## [Help the project](http://pledgie.com/campaigns/18159)
|
||||
|
||||
[](http://pledgie.com/campaigns/18159)
|
||||
|
||||
This project is looking for help! [You can donate to the ongoing pledgie campaign](http://pledgie.com/campaigns/18159)
|
||||
and help spread the word. If you've used the plugin, or plan to use, consider a donation - any amount will help.
|
||||
|
||||
You can find the plan for how to spend the money on the [pledgie page](http://pledgie.com/campaigns/18159).
|
||||
|
||||
## Getting Started
|
||||
|
||||
### Downloading the prebuilt files
|
||||
|
||||
Prebuilt files can be downloaded from http://jqueryvalidation.org/
|
||||
|
||||
### Downloading the latest changes
|
||||
|
||||
The unreleased development files can be obtained by:
|
||||
|
||||
1. [Downloading](https://github.com/jzaefferer/jquery-validation/archive/master.zip) or Forking this repository
|
||||
2. [Setup the build](CONTRIBUTING.md#build-setup)
|
||||
3. Run `grunt` to create the built files in the "dist" directory
|
||||
|
||||
### Including it on your page
|
||||
|
||||
Include jQuery and the plugin on a page. Then select a form to validate and call the `validate` method.
|
||||
|
||||
```html
|
||||
<form>
|
||||
<input required>
|
||||
</form>
|
||||
<script src="jquery.js"></script>
|
||||
<script src="jquery.validate.js"></script>
|
||||
<script>
|
||||
$("form").validate();
|
||||
</script>
|
||||
```
|
||||
|
||||
Alternatively include jQuery and the plugin via requirejs in your module.
|
||||
|
||||
```js
|
||||
define(["jquery", "jquery.validate"], function( $ ) {
|
||||
$("form").validate();
|
||||
});
|
||||
```
|
||||
|
||||
For more information on how to setup a rules and customizations, [check the documentation](http://jqueryvalidation.org/documentation/).
|
||||
|
||||
## Reporting an Issue
|
||||
|
||||
**IMPORTANT NOTE ABOUT EMAIL VALIDATION**. As of version 1.12.0 this plugin is using the same regular expression that the [HTML5 specification suggests for browsers to use](http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#e-mail-state-%28type=email%29). We will follow their lead and use the same check. If you think the specification is wrong, please report the issue to them.
|
||||
|
||||
1. Make sure the problem you're addressing is reproducible.
|
||||
2. Use http://jsbin.com or http://jsfiddle.net to provide a test page.
|
||||
3. Indicate what browsers the issue can be reproduced in. **Note: IE Compatibilty modes issues will not be addressed.**
|
||||
4. What version of the plug-in is the issue reproducible in. Is it reproducible after updating to the latest version.
|
||||
|
||||
## Contributing
|
||||
|
||||
See the [Contributing Guide](CONTRIBUTING.md)
|
||||
|
||||
## License
|
||||
Copyright (c) 2013 Jörn Zaefferer
|
||||
Licensed under the MIT license.
|
@ -1,47 +0,0 @@
|
||||
{
|
||||
"name": "jquery-validation",
|
||||
"title": "jQuery Validation Plugin",
|
||||
"description": "Form validation made easy",
|
||||
"version": "1.13.0",
|
||||
"homepage": "http://jqueryvalidation.org/",
|
||||
"author": {
|
||||
"name": "Jörn Zaefferer",
|
||||
"email": "joern.zaefferer@gmail.com",
|
||||
"url": "http://bassistance.de"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/jzaefferer/jquery-validation.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jzaefferer/jquery-validation/issues"
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
"type": "MIT",
|
||||
"url": "http://www.opensource.org/licenses/MIT"
|
||||
}
|
||||
],
|
||||
"scripts": {
|
||||
"test": "grunt"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"commitplease": "1.7.0",
|
||||
"grunt": "0.4.4",
|
||||
"grunt-contrib-compress": "0.7.0",
|
||||
"grunt-contrib-concat": "0.3.0",
|
||||
"grunt-contrib-copy": "0.5.0",
|
||||
"grunt-contrib-jshint": "^0.10.0",
|
||||
"grunt-contrib-qunit": "0.4.0",
|
||||
"grunt-contrib-uglify": "0.4.0",
|
||||
"grunt-contrib-watch": "0.6.0",
|
||||
"grunt-jscs": "^0.6.1",
|
||||
"grunt-text-replace": "0.3.11"
|
||||
},
|
||||
"keywords": [
|
||||
"forms",
|
||||
"validation",
|
||||
"validate"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user