Skip to content

Commit

Permalink
Item14564: added jquery-3
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Dec 11, 2017
1 parent bcf71e2 commit d6375f8
Show file tree
Hide file tree
Showing 6 changed files with 10,278 additions and 13 deletions.
1 change: 1 addition & 0 deletions JQueryPlugin/data/System/JQueryPlugin.txt
Expand Up @@ -125,6 +125,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 |
| 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
Expand Up @@ -24,8 +24,8 @@ BEGIN {
}
}

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

Expand Down
23 changes: 15 additions & 8 deletions JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin/MANIFEST
@@ -1,3 +1,4 @@
!noci
data/System/JQueryAjaxHelper.txt 0644
data/System/JQueryAutocomplete.txt 0644
data/System/JQueryBgiframe.txt 0644
Expand Down Expand Up @@ -67,8 +68,8 @@ data/System/VarJQTHEME.txt 0644
data/System/VarPOPUPWINDOW.txt 0644
data/System/VarTABPANE.txt 0644
data/System/VarTAB.txt 0644
lib/Foswiki/Configure/Checkers/JQueryPlugin/JQueryVersion.pm 0644
lib/Foswiki/Configure/Checkers/JQueryPlugin/JQueryVersionForOldIEs.pm 0644
lib/Foswiki/Configure/Checkers/JQueryPlugin/JQueryVersion.pm 0644
lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Autocomplete/Enabled.pm 0644
lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Bgiframe/Enabled.pm 0644
lib/Foswiki/Configure/Checkers/JQueryPlugin/Plugins/Corner/Enabled.pm 0644
Expand Down Expand Up @@ -242,6 +243,9 @@ pub/System/JQueryPlugin/jquery-2.2.3.uncompressed.js 0644
pub/System/JQueryPlugin/jquery-2.2.4.js 0644
pub/System/JQueryPlugin/jquery-2.2.4.js.gz 0644
pub/System/JQueryPlugin/jquery-2.2.4.uncompressed.js 0644
pub/System/JQueryPlugin/jquery-3.2.1.js 0644
pub/System/JQueryPlugin/jquery-3.2.1.js.gz 0644
pub/System/JQueryPlugin/jquery-3.2.1.uncompressed.js 0644
pub/System/JQueryPlugin/Makefile 0644
pub/System/JQueryPlugin/Makefile.include 0644
pub/System/JQueryPlugin/noconflict.js 0644
Expand Down Expand Up @@ -465,6 +469,9 @@ pub/System/JQueryPlugin/plugins/metadata/jquery.metadata.js 0644
pub/System/JQueryPlugin/plugins/metadata/jquery.metadata.js.gz 0644
pub/System/JQueryPlugin/plugins/metadata/jquery.metadata.uncompressed.js 0644
pub/System/JQueryPlugin/plugins/metadata/Makefile 0644
pub/System/JQueryPlugin/plugins/migrate/jquery.migrate-3.js 0644
pub/System/JQueryPlugin/plugins/migrate/jquery.migrate-3.js.gz 0644
pub/System/JQueryPlugin/plugins/migrate/jquery.migrate-3.uncompressed.js 0644
pub/System/JQueryPlugin/plugins/migrate/jquery.migrate.js 0644
pub/System/JQueryPlugin/plugins/migrate/jquery.migrate.js.gz 0644
pub/System/JQueryPlugin/plugins/migrate/jquery.migrate.patch 0644
Expand Down Expand Up @@ -638,6 +645,13 @@ pub/System/JQueryPlugin/plugins/textboxlist/jquery.textboxlist.js.gz 0644
pub/System/JQueryPlugin/plugins/textboxlist/jquery.textboxlist.uncompressed.css 0644
pub/System/JQueryPlugin/plugins/textboxlist/jquery.textboxlist.uncompressed.js 0644
pub/System/JQueryPlugin/plugins/textboxlist/Makefile 0644
pub/System/JQueryPlugin/plugins/tmpl/jquery.tmpl.js 0644
pub/System/JQueryPlugin/plugins/tmpl/jquery.tmpl.js.gz 0644
pub/System/JQueryPlugin/plugins/tmpl/jquery.tmpl-loader.js 0644
pub/System/JQueryPlugin/plugins/tmpl/jquery.tmpl-loader.js.gz 0644
pub/System/JQueryPlugin/plugins/tmpl/jquery.tmpl-loader.uncompressed.js 0644
pub/System/JQueryPlugin/plugins/tmpl/jquery.tmpl.uncompressed.js 0644
pub/System/JQueryPlugin/plugins/tmpl/Makefile 0644
pub/System/JQueryPlugin/plugins/tooltip/jquery.tooltip.css 0644
pub/System/JQueryPlugin/plugins/tooltip/jquery.tooltip.css.gz 0644
pub/System/JQueryPlugin/plugins/tooltip/jquery.tooltip.init.js 0644
Expand Down Expand Up @@ -680,13 +694,6 @@ pub/System/JQueryPlugin/plugins/treeview/jquery.treeview.js.gz 0644
pub/System/JQueryPlugin/plugins/treeview/jquery.treeview.uncompressed.css 0644
pub/System/JQueryPlugin/plugins/treeview/jquery.treeview.uncompressed.js 0644
pub/System/JQueryPlugin/plugins/treeview/Makefile 0644
pub/System/JQueryPlugin/plugins/tmpl/Makefile 0644
pub/System/JQueryPlugin/plugins/tmpl/jquery.tmpl-loader.js 0644
pub/System/JQueryPlugin/plugins/tmpl/jquery.tmpl-loader.js.gz 0644
pub/System/JQueryPlugin/plugins/tmpl/jquery.tmpl-loader.uncompressed.js 0644
pub/System/JQueryPlugin/plugins/tmpl/jquery.tmpl.js 0644
pub/System/JQueryPlugin/plugins/tmpl/jquery.tmpl.js.gz 0644
pub/System/JQueryPlugin/plugins/tmpl/jquery.tmpl.uncompressed.js 0644
pub/System/JQueryPlugin/plugins/ui/i18n/datepicker-af.js 0644
pub/System/JQueryPlugin/plugins/ui/i18n/datepicker-ar-DZ.js 0644
pub/System/JQueryPlugin/plugins/ui/i18n/datepicker-ar.js 0644
Expand Down
7 changes: 5 additions & 2 deletions JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin/MIGRATE.pm
Expand Up @@ -28,14 +28,17 @@ sub new {
my $this = bless(
$class->SUPER::new(
name => 'Migrate',
version => '1.4.1',
version => '3.2.1',
author => 'jQuery Foundation, Inc. and other contributors',
homepage => 'https://github.com/jquery/jquery-migrate/',
javascript => ['jquery.migrate.js'],
),
$class
);

my $jQuery = $Foswiki::cfg{JQueryPlugin}{JQueryVersion} || '';
$this->{javascript} = ['jquery.migrate-3.js'] if $jQuery =~ /jquery\-3/;

return $this;
}

Expand All @@ -44,7 +47,7 @@ sub new {
__END__
Foswiki - The Free and Open Source Wiki, http://foswiki.org/
Copyright (C) 2010-2016 Foswiki Contributors. Foswiki Contributors
Copyright (C) 2010-2017 Foswiki Contributors. Foswiki Contributors
are listed in the AUTHORS file in the root of this distribution.
NOTE: Please extend that file, not this notice.
Expand Down
3 changes: 2 additions & 1 deletion JQueryPlugin/pub/System/JQueryPlugin/Makefile
Expand Up @@ -23,6 +23,7 @@ TARGET=\
jquery-2.2.1.js \
jquery-2.2.2.js \
jquery-2.2.3.js \
jquery-2.2.4.js
jquery-2.2.4.js \
jquery-3.2.1.js

-include Makefile.include

0 comments on commit d6375f8

Please sign in to comment.