Skip to content

Commit 77a4153

Browse files
committed
fixed bug in build script
1 parent bab98e9 commit 77a4153

File tree

9 files changed

+10
-9
lines changed

9 files changed

+10
-9
lines changed

build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ console.log('Build version: '+newVersion);
2828
* Get code docs
2929
*/
3030
var documentation = fs.readFileSync(mainScript, 'utf-8').split('*/')[0]+'*/';
31-
console.log(documentation);
31+
var docParts = documentation.split('@version ');
32+
documentation = docParts[0] +'@version '+newVersion+'\n'+docParts[1].split('\n')[1];
3233

3334

3435
/**

form-validator/date.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* @license Dual licensed under the MIT or GPL Version 2 licenses
15-
* @version 1.9.20
15+
* @version 1.9.26
1616
*/
1717
(function($) {
1818

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
* Documentation and issue tracking on Github <https://github.com/victorjonsson/jQuery-Form-Validator/>
66
*
77
* @license Dual licensed under the MIT or GPL Version 2 licenses
8-
* @version 1.9.20
8+
* @version 1.9.26
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/location.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* @license Dual licensed under the MIT or GPL Version 2 licenses
14-
* @version 1.9.20
14+
* @version 1.9.26
1515
*/
1616
(function($) {
1717

form-validator/security.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* - validate_backend
1313
*
1414
* @license Dual licensed under the MIT or GPL Version 2 licenses
15-
* @version 1.9.20
15+
* @version 1.9.26
1616
*/
1717
(function($) {
1818

form-validator/sweden.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* - validate_swephone
1414
*
1515
* @license Dual licensed under the MIT or GPL Version 2 licenses
16-
* @version 1.9.20
16+
* @version 1.9.26
1717
*/
1818
(function($) {
1919

form-validator/test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
equal(
5959
typeof(result),
60-
obj.isValid ? 'boolean':'string',
60+
obj.isValid ? 'boolean':'string', // returns true if valid, error message otherwise
6161
message
6262
);
6363
}

form-validator/uk.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* - validate_ukvatnumber
1010
*
1111
* @license Dual licensed under the MIT or GPL Version 2 licenses
12-
* @version 1.9.20
12+
* @version 1.9.26
1313
*/
1414
$.formUtils.addValidator({
1515
name : 'validate_ukvatnumber',

0 commit comments

Comments
 (0)