Skip to content

Commit

Permalink
v0.6.0 release
Browse files Browse the repository at this point in the history
- Fixed issue about number validete when entering float number (Regexp pattern modified).
  • Loading branch information
hsnaydd committed Nov 15, 2013
1 parent 23fa14e commit 14c537d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions validetta-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions validetta.jquery.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name" : "validetta",
"version" : "0.5.0",
"version" : "0.6.0",
"title" : "Validetta - A tiny jquery plugin for validate your forms",
"description" : "Validetta is a tiny jQuery plugin which you can do client-side validation of your forms. It aims to decrease your burden with easy usage and flexible structure.",
"keywords" : ["validetta", "form", "forms", "jquery", "javascript", "validation", "validate"],
"homepage" : "http://lab.hasanaydogdu.com/validetta/",
"docs" : "http://lab.hasanaydogdu.com/validetta/",
"demo" : "http://lab.hasanaydogdu.com/validetta/#examples",
"bugs" : "http://github.com/hsnayd/validetta/issues",
"download" : "http://github.com/hsnayd/validetta/archive/v0.5.0.zip",
"download" : "http://github.com/hsnayd/validetta/archive/v0.6.0.zip",
"author" : {
"name": "Hasan Aydoğdu",
"url" : "http://github.com/hsnayd"
Expand Down
4 changes: 2 additions & 2 deletions validetta.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Validetta - Client-side form validation jQuery plugin
* Version: 0.5.0 (10 November 2013)
* Version: 0.6.0 (15 November 2013)
* @jQuery Requires: v1.7 or above
* @Browser Support : ie8 or above, and all modern browsers
*
Expand All @@ -27,7 +27,7 @@
// @from ( http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#e-mail-state-%28type=email%29 )
regMail = new RegExp( /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/ ),
//RegExp for input number control method
regNumber = new RegExp( /^[\-\+][0-9]+?$|^[0-9]+?$/ );
regNumber = new RegExp( /^[\-\+]?\d+\.?\d*$/ );
/**
* Form validate error messages
*/
Expand Down

0 comments on commit 14c537d

Please sign in to comment.