@@ -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' ) ;
@@ -208,13 +208,13 @@ $(document).ready(function (){
208208 { content : '2.9.x' , start : '2017-07-14' , end :'2018-07-14' } ,
209209 ] ,
210210 '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' }
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' }
213213 ] ,
214214 '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- ] ,
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+ ] ,
218218 'Toyplot' :[
219219 { content : 'Python 2 & 3' , start : '2014-11-05' , end :'2018-12-31' , py2 :true } ,
220220 { content : 'Python 3 only' , start : '2019-01-01' , end :'2021-12-31' } ,
0 commit comments