summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xstatic/pkg/jquery/__init__.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/xstatic/pkg/jquery/__init__.py b/xstatic/pkg/jquery/__init__.py
index 9128e87..f81507c 100644
--- a/xstatic/pkg/jquery/__init__.py
+++ b/xstatic/pkg/jquery/__init__.py
@@ -11,7 +11,7 @@ NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar')
# please use a all-lowercase valid python
# package name
-VERSION = '2.2.4' # version of the packaged files, please use the upstream
+VERSION = '3.3.1' # version of the packaged files, please use the upstream
# version number
BUILD = '1' # our package build number, so we can release new builds
# with fixes for xstatic stuff.
@@ -51,14 +51,26 @@ LOCATIONS = {
('jquery', 'http'): {
'jquery.js': 'http://code.jquery.com/jquery-%s.js' % VERSION,
'jquery.min.js': 'http://code.jquery.com/jquery-%s.min.js' % VERSION,
+ 'jquery.slim.js': 'http://code.jquery.com/jquery-%s.slim.js' % VERSION,
+ 'jquery.slim.min.js': 'http://code.jquery.com/jquery-%s.slim.min.js' % VERSION,
+ },
+ ('jquery', 'https'): {
+ 'jquery.js': 'https://code.jquery.com/jquery-%s.js' % VERSION,
+ 'jquery.min.js': 'https://code.jquery.com/jquery-%s.min.js' % VERSION,
+ 'jquery.slim.js': 'https://code.jquery.com/jquery-%s.slim.js' % VERSION,
+ 'jquery.slim.min.js': 'https://code.jquery.com/jquery-%s.slim.min.js' % VERSION,
},
('microsoft', 'http'): {
'jquery.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.js' % VERSION,
'jquery.min.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.min.js' % VERSION,
+ 'jquery.slim.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.js' % VERSION,
+ 'jquery.slim.min.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.min.js' % VERSION,
},
('microsoft', 'https'): {
'jquery.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.js' % VERSION,
'jquery.min.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.min.js' % VERSION,
+ 'jquery.slim.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.js' % VERSION,
+ 'jquery.slim.min.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.min.js' % VERSION,
},
}