Skip to content

Commit

Permalink
Item14565: bundle validate js files into one
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Dec 11, 2017
1 parent b248f35 commit 91a7102
Show file tree
Hide file tree
Showing 6 changed files with 1,680 additions and 11 deletions.
1 change: 1 addition & 0 deletions JQueryPlugin/data/System/JQueryPlugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ required for Foswiki 1.1 or later.

---++ Change History
%TABLE{columnwidths="7em" tablewidth="100%"}%
| 11 Dec 2017: | (7.25) - Item14565: bundle jquery.validate js files into one |
| 8 Dec 2017: | (7.24) - Released with Foswiki 2.1.5<br>\
Item14518: JQueryPlugin should warn configure if an older version of jquery is selected.<br/>\
Item14555: make build work with latest uglifyjs 3.<br/>\
Expand Down
4 changes: 2 additions & 2 deletions JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ BEGIN {
}
}

our $VERSION = '7.24';
our $RELEASE = '8 Dec 2017';
our $VERSION = '7.25';
our $RELEASE = '11 Dec 2017';
our $SHORTDESCRIPTION = 'jQuery <nop>JavaScript library for Foswiki';
our $NO_PREFS_IN_TOPIC = 1;

Expand Down
3 changes: 3 additions & 0 deletions JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin/MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,9 @@ pub/System/JQueryPlugin/plugins/validate/localization/messages_zh_TW.js 0644
pub/System/JQueryPlugin/plugins/validate/localization/methods_de.js 0644
pub/System/JQueryPlugin/plugins/validate/localization/methods_nl.js 0644
pub/System/JQueryPlugin/plugins/validate/localization/methods_pt.js 0644
pub/System/JQueryPlugin/plugins/validate/pkg.js 0644
pub/System/JQueryPlugin/plugins/validate/pkg.js.gz 0644
pub/System/JQueryPlugin/plugins/validate/pkg.uncompressed.js 0644
pub/System/JQueryPlugin/plugins/validate/Makefile 0644
pub/System/JQueryPlugin/plugins/wikiword/downgradeMap.small.uncompressed.js 0644
pub/System/JQueryPlugin/plugins/wikiword/downgradeMap.uncompressed.js 0644
Expand Down
13 changes: 5 additions & 8 deletions JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin/VALIDATE.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ sub new {

my $this = bless(
$class->SUPER::new(
name => 'Validate',
version => '1.11.0',
author => 'Joern Zaefferer',
homepage => 'http://jqueryvalidation.org/',
javascript => [
'jquery.validate.js', 'jquery.validate.methods.js',
'jquery.validate.init.js'
],
name => 'Validate',
version => '1.11.0',
author => 'Joern Zaefferer',
homepage => 'http://jqueryvalidation.org/',
javascript => ['pkg.js'],
dependencies => ['form'],
),
$class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ $.extend($.validator, {
errorContainer: $([]),
errorLabelContainer: $([]),
onsubmit: true,
ignore: ":hidden",
ignore: "",
ignoreTitle: false,
onfocusin: function( element, event ) {
this.lastActive = element;
Expand Down
Loading

0 comments on commit 91a7102

Please sign in to comment.