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 ec46755 commit 0ed5605
Show file tree
Hide file tree
Showing 5 changed files with 1,678 additions and 9 deletions.
1 change: 1 addition & 0 deletions JQueryPlugin/data/System/JQueryPlugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ required for Foswiki 1.1 or later.
---++ Change History
%TABLE{columnwidths="7em" tablewidth="100%"}%
| 11 Dec 2017: | (8.00) - Item14564: added jquery-3 and the matching migrate module |
| 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
3 changes: 3 additions & 0 deletions JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin/MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,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 0ed5605

Please sign in to comment.