From 4da9b65c0284a69b79dc6f09e4ca3e345b7ef718 Mon Sep 17 00:00:00 2001
From: Victor Michnowicz
Date: Thu, 7 Feb 2013 17:57:01 -0500
Subject: [PATCH 1/8] Update docs
---
README.md | 14 +++++++-------
package.json | 8 ++++----
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index 97ad261..a698e7b 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ jQuery Form Validate uses the data attributes applied to your form inputs input
### messageParent
-CSS selector of parent element of message (success or failure) messages. By default this is `div`.
+CSS selector of parent element of success and failure message. By default this is `div`. This selector is relative to each input. Starting at the input we go through each parent and see if it matches the provided selector. This will tell us were to place each error and success messages. For this reason it is nice to wrap each set of labels and inputs in some sort of container element.
### messageElement
@@ -62,25 +62,25 @@ Boolean option to display success messages. Defaults to `false`.
### messageFailureClass
-CSS class(es) applied to failure messages. Defaults to `error`. Multiple CSS classes can be applied by through space deliineation i.e. `error error-text`.
+CSS class(es) applied to failure messages. Defaults to `error`. Multiple CSS classes can be applied by through space delineation i.e. `error error-text`.
### messageSuccessClass
-CSS class(es) applied to success messages. Defaults to `success`. Multiple CSS classes can be applied by through space deliineation i.e. `success success-text`.
+CSS class(es) applied to success messages. Defaults to `success`. Multiple CSS classes can be applied by through space delineation i.e. `success success-text`.
### inputFailureClass
-CSS class(es) added to inputs that did not pass validation. Defaults to `error`. Multiple CSS classes can be applied by through space deliineation i.e. `error error-text`.
+CSS class(es) added to inputs that did not pass validation. Defaults to `error`. Multiple CSS classes can be applied by through space delineation i.e. `error error-text`.
### inputSuccessClass
-CSS class added to inputs that did pass validation. Defaults to `success`. Multiple CSS classes can be applied by through space deliineation i.e. `success success-text`.
+CSS class added to inputs that did pass validation. Defaults to `success`. Multiple CSS classes can be applied by through space delineation i.e. `success success-text`.
### language
-Set the language for error and success messages. Defaults to `en` for English. Deutsch `de`, English `en`, Espańol `es`, and Pirate `pirage` are available.
+Set the language for error and success messages. Defaults to `en` for English. Deutsch `de`, English `en`, Español `es`, and Pirate `pirate` are available.
-## Publically Available Methods
+## Publicly Available Methods
### preProcess [ function *function(form, options, inputFailureClass, inputSuccessClass, messageFailureClass, messageSuccessClass, messageElement)* ]
diff --git a/package.json b/package.json
index 70d8ef5..1338d3c 100644
--- a/package.json
+++ b/package.json
@@ -1,21 +1,21 @@
{
"name": "formvalidate",
- "version": "0.1.1",
"title": "jQuery Form Validate",
+ "description": "jQuery Form Validate is a simple form validation plugin that allows you to easily validate your forms by applying various HTML data attributes.",
+ "version": "0.2",
"author": {
"name": "Victor Michnowicz",
"url": "http://www.vmichnowicz.com/"
},
"licenses": [
{
- "type": "MIT",
- "url": "http://opensource.org/licenses/MIT"
+ "type": "MIT",
+ "url": "http://opensource.org/licenses/MIT"
}
],
"dependencies": {
"jquery": ">1.4.3"
},
- "description": "",
"keywords": [
"form",
"validation",
From 8f9e53a2a083e70fc7a2242a7e32cb7008ebb5e5 Mon Sep 17 00:00:00 2001
From: Victor Michnowicz
Date: Thu, 7 Feb 2013 17:58:13 -0500
Subject: [PATCH 2/8] Update to version 0.3
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 1338d3c..ab4f9ab 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "formvalidate",
"title": "jQuery Form Validate",
"description": "jQuery Form Validate is a simple form validation plugin that allows you to easily validate your forms by applying various HTML data attributes.",
- "version": "0.2",
+ "version": "0.3",
"author": {
"name": "Victor Michnowicz",
"url": "http://www.vmichnowicz.com/"
From 5b0dfc565bb84a682d95d45334cc9f6997de4a48 Mon Sep 17 00:00:00 2001
From: Victor Michnowicz
Date: Thu, 7 Feb 2013 18:07:16 -0500
Subject: [PATCH 3/8] Update version, meta tag
---
package.json => formvalidate.jquery.json | 2 +-
index.html | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
rename package.json => formvalidate.jquery.json (97%)
diff --git a/package.json b/formvalidate.jquery.json
similarity index 97%
rename from package.json
rename to formvalidate.jquery.json
index ab4f9ab..a3b545f 100644
--- a/package.json
+++ b/formvalidate.jquery.json
@@ -2,7 +2,7 @@
"name": "formvalidate",
"title": "jQuery Form Validate",
"description": "jQuery Form Validate is a simple form validation plugin that allows you to easily validate your forms by applying various HTML data attributes.",
- "version": "0.3",
+ "version": "0.3.1",
"author": {
"name": "Victor Michnowicz",
"url": "http://www.vmichnowicz.com/"
diff --git a/index.html b/index.html
index e276ab5..c48f69b 100644
--- a/index.html
+++ b/index.html
@@ -3,6 +3,7 @@
jQuery Form Validate
+
From 3c4153b422162ec4e640abeeada83d124030de41 Mon Sep 17 00:00:00 2001
From: Victor Michnowicz
Date: Thu, 7 Feb 2013 21:36:31 -0500
Subject: [PATCH 4/8] Update bugs, docs, demo links & add custom validation
function
---
formvalidate.jquery.json | 5 ++++-
index.html | 10 +++++++++-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/formvalidate.jquery.json b/formvalidate.jquery.json
index a3b545f..b651e0b 100644
--- a/formvalidate.jquery.json
+++ b/formvalidate.jquery.json
@@ -2,7 +2,7 @@
"name": "formvalidate",
"title": "jQuery Form Validate",
"description": "jQuery Form Validate is a simple form validation plugin that allows you to easily validate your forms by applying various HTML data attributes.",
- "version": "0.3.1",
+ "version": "0.3.2",
"author": {
"name": "Victor Michnowicz",
"url": "http://www.vmichnowicz.com/"
@@ -22,6 +22,9 @@
"validate"
],
"homepage": "https://github.com/vmichnowicz/jquery.formvalidate",
+ "bugs": "https://github.com/vmichnowicz/jquery.formvalidate/issues",
+ "docs": "https://github.com/vmichnowicz/jquery.formvalidate/wiki",
+ "demo": "http://www.vmichnowicz.com/examples/formvalidate/index.html",
"maintainers": [
{
"name": "Victor Michnowicz",
diff --git a/index.html b/index.html
index c48f69b..d17dbcb 100644
--- a/index.html
+++ b/index.html
@@ -99,7 +99,7 @@