Skip to content

Commit 6bc4e6d

Browse files
committed
Version 1.3.5
- Fixes #2 Major error that would cause a JS error if options.debug was not declared inside the non-minified file
1 parent 88bb5ec commit 6bc4e6d

File tree

3 files changed

+5
-14
lines changed

3 files changed

+5
-14
lines changed

html5-form-validation.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"validation",
1010
"input"
1111
],
12-
"version": "1.3.4",
12+
"version": "1.3.5",
1313
"author": {
1414
"name": "Tom Bertrand",
1515
"url": "http://www.runningcoder.org/jqueryvalidation/"

jquery.validation.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* jQuery Form Validation
33
*
44
* @author Tom Bertrand
5-
* @version 1.3.4 (2014-09-10)
5+
* @version 1.3.5 (2014-09-10)
66
*
77
* @copyright
88
* Copyright (C) 2014 RunningCoder.
@@ -21,7 +21,7 @@
2121

2222
window.Validation = {
2323
form: [],
24-
messages: {},
24+
messages: null,
2525
labels: {},
2626
hasScrolled: false
2727
};
@@ -209,15 +209,6 @@
209209

210210
_extendedMessages = true;
211211

212-
// {debug}
213-
options.debug && window.Debug.log({
214-
'node': node,
215-
'function': 'extendMessage()',
216-
'arguments': JSON.stringify(window.Validation.messages),
217-
'message': 'OK - Overriding ' + node + ' default message(s)'
218-
});
219-
// {/debug}
220-
221212
}
222213

223214
/**

0 commit comments

Comments
 (0)