Skip to content

Commit 83b1f76

Browse files
authored
Merge pull request #189 from hugovk/add-pillow
Add Pillow
2 parents e1f34be + 1214bfa commit 83b1f76

File tree

3 files changed

+21
-16
lines changed

3 files changed

+21
-16
lines changed

_sections/30-projects.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ These projects pledge to drop Python 2 support in or before 2020.
1919
- [![](assets/kivy.png)Kivy](https://kivy.org/)
2020
- [![](assets/matplotlib.png)Matplotlib](https://matplotlib.org/)
2121
- [![](assets/numpylogoicon.svg)NumPy](https://www.numpy.org/)
22+
- [![](assets/pillow.png)Pillow](https://github.com/python-pillow/Pillow)
2223
- [![](assets/scipyshiny_small.png)SciPy](https://www.scipy.org/)
2324
- [![](assets/ccxt.png)ccxt](https://github.com/ccxt/ccxt)
2425
- [![](assets/zulip.png)Zulip](https://zulip.org)

assets/pillow.png

14.2 KB
Loading

site.js

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ $.extend($.easing,
2626
navItems = this;
2727

2828
//attatch click listeners
29-
navItems.on('click', function(event){
30-
event.preventDefault();
29+
navItems.on('click', function(event){
30+
event.preventDefault();
3131
var navID = $(this).attr("href").substring(1);
3232
disableScrollFn = true;
3333
activateNav(navID);
3434
populateDestinations(); //recalculate these!
35-
$('html,body').animate({scrollTop: sections[navID] - settings.scrollToOffset},
35+
$('html,body').animate({scrollTop: sections[navID] - settings.scrollToOffset},
3636
settings.scrollSpeed, "easeInOutExpo", function(){
3737
disableScrollFn = false;
3838
}
3939
);
40-
});
40+
});
4141

4242
//populate lookup of clicable elements and destination sections
4343
populateDestinations(); //should also be run on browser resize, btw
@@ -75,21 +75,21 @@ $(document).ready(function (){
7575
$('nav li a').navScroller();
7676

7777
//section divider icon click gently scrolls to reveal the section
78-
$(".sectiondivider").on('click', function(event) {
79-
$('html,body').animate({scrollTop: $(event.target.parentNode).offset().top - 50}, 400, "linear");
80-
});
78+
$(".sectiondivider").on('click', function(event) {
79+
$('html,body').animate({scrollTop: $(event.target.parentNode).offset().top - 50}, 400, "linear");
80+
});
8181

8282
//links going to other sections nicely scroll
83-
$(".container a").each(function(){
83+
$(".container a").each(function(){
8484
if ($(this).attr("href").charAt(0) == '#'){
8585
$(this).on('click', function(event) {
86-
event.preventDefault();
86+
event.preventDefault();
8787
var target = $(event.target).closest("a");
8888
var targetHight = $(target.attr("href")).offset().top
89-
$('html,body').animate({scrollTop: targetHight - 170}, 800, "easeInOutExpo");
89+
$('html,body').animate({scrollTop: targetHight - 170}, 800, "easeInOutExpo");
9090
});
9191
}
92-
});
92+
});
9393

9494
// DOM element where the Timeline will be attached
9595
var container = document.getElementById('visualization');
@@ -137,6 +137,10 @@ $(document).ready(function (){
137137
{content: 'Py 2 bug fix', start: '2019-01-01', end:'2019-12-31', py2:true},
138138
{content: 'Py 3 full', start: '2019-01-01', end:'2021-12-16'},
139139
],
140+
'Pillow':[
141+
{content: 'Python 2 & 3', start: '2013-03-15', end:'2019-12-31', py2:true},
142+
{content: 'Python 3 only', start: '2020-01-01', end:'2023-12-31'},
143+
],
140144
'Scipy':[
141145
{content: 'Py 2 & 3 full', start: '2010-08-31', end:'2018-12-31', py2:true},
142146
{content: 'Py 2 bug fix', start: '2019-01-01', end:'2019-12-31', py2:true},
@@ -208,13 +212,13 @@ $(document).ready(function (){
208212
{content: '2.9.x', start: '2017-07-14', end:'2018-07-14'},
209213
],
210214
'FEniCS':[
211-
{content: '2017.1.0', start: '2017-05-12', end: '2017-12-31', py2:true},
212-
{content: '2018.1.0', start: '2018-01-01', end: '2018-06-01'}
215+
{content: '2017.1.0', start: '2017-05-12', end: '2017-12-31', py2:true},
216+
{content: '2018.1.0', start: '2018-01-01', end: '2018-06-01'}
213217
],
214218
'RDKit':[
215-
{content: '2014.9.1 - 2019.03.1', start: '2014-09-1', end: '2019-09-1', py2:true},
216-
{content: '2019.9.1 -' , start: '2019-09-01', end: '2021-03-01'}
217-
],
219+
{content: '2014.9.1 - 2019.03.1', start: '2014-09-1', end: '2019-09-1', py2:true},
220+
{content: '2019.9.1 -' , start: '2019-09-01', end: '2021-03-01'}
221+
],
218222
'Toyplot':[
219223
{content: 'Python 2 & 3', start: '2014-11-05', end:'2018-12-31', py2:true},
220224
{content: 'Python 3 only', start: '2019-01-01', end:'2021-12-31'},

0 commit comments

Comments
 (0)