Skip to content

Commit 0c25635

Browse files
committed
Added sanitation module victorjonsson#284 and minified portuguese lang victorjonsson#288
1 parent d0cae7c commit 0c25635

22 files changed

+231
-19
lines changed

form-validator/date.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* @website http://formvalidator.net/#location-validators
1212
* @license Dual licensed under the MIT or GPL Version 2 licenses
13-
* @version 2.2.43
13+
* @version 2.2.48
1414
*/
1515
(function($) {
1616

form-validator/file.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* @website http://formvalidator.net/#file-validators
1212
* @license Dual licensed under the MIT or GPL Version 2 licenses
13-
* @version 2.2.43
13+
* @version 2.2.48
1414
*/
1515
(function($, window) {
1616

form-validator/form-test.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ <h2>HTML5 attributes</h2>
359359
errorMessagePosition : messagePosition,
360360
scrollToTopOnError : true,
361361
lang : 'sv',
362+
sanitizeAll : 'trim', // only used on form C
362363
// borderColorOnError : 'purple',
363364
modules : 'security'+dev+', location'+dev+', sweden'+dev+', file'+dev+', uk'+dev +( xtraModule ? ','+xtraModule:''),
364365
onModulesLoaded: function() {
@@ -392,7 +393,7 @@ <h2>HTML5 attributes</h2>
392393

393394
window.applyValidation(true, '#form-a', 'top');
394395
window.applyValidation(false, '#form-b', 'element');
395-
window.applyValidation(true, '#form-c', $('#error-container'));
396+
window.applyValidation(true, '#form-c', $('#error-container'), 'sanitize'+dev);
396397
window.applyValidation(true, '#form-d', 'element', 'html5'+dev);
397398

398399
// Load one module outside $.validate() even though you do not have to

form-validator/html5.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*
1818
* @website http://formvalidator.net/
1919
* @license Dual licensed under the MIT or GPL Version 2 licenses
20-
* @version 2.2.43
20+
* @version 2.2.48
2121
*/
2222
(function($, window) {
2323

form-validator/jquery.form-validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* @website http://formvalidator.net/
77
* @license Dual licensed under the MIT or GPL Version 2 licenses
8-
* @version 2.2.43
8+
* @version 2.2.48
99
*/
1010
(function ($) {
1111

form-validator/jquery.form-validator.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

form-validator/jsconf.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* @website http://formvalidator.net/#location-validators
99
* @license Dual licensed under the MIT or GPL Version 2 licenses
10-
* @version 2.2.43
10+
* @version 2.2.48
1111
*/
1212
(function($) {
1313

form-validator/lang/de.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @website http://formvalidator.net/
88
* @license Dual licensed under the MIT or GPL Version 2 licenses
9-
* @version 2.2.43
9+
* @version 2.2.48
1010
*/
1111
(function($, window) {
1212

form-validator/lang/es.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @website http://formvalidator.net/
88
* @license Dual licensed under the MIT or GPL Version 2 licenses
9-
* @version 2.2.43
9+
* @version 2.2.48
1010
*/
1111
(function($, window) {
1212

form-validator/lang/fr.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @website http://formvalidator.net/
88
* @license Dual licensed under the MIT or GPL Version 2 licenses
9-
* @version 2.2.43
9+
* @version 2.2.48
1010
*/
1111
(function($, window) {
1212

0 commit comments

Comments
 (0)