File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1- <!doctype html>
1+ <!doctype html>
22< html lang ="en ">
33< head >
44< title > JavaScript Patterns</ title >
Original file line number Diff line number Diff line change 1- <!doctype html>
1+ <!doctype html>
22< html lang ="en ">
33< head >
44< title > JavaScript Patterns</ title >
1313
1414// preferred
1515var outerPane = $details . find ( ".details-pane-outer" ) ,
16- didScroll = false ;
16+ didScroll = false ;
1717$ ( window ) . scroll ( function ( ) {
18- didScroll = true ;
18+ didScroll = true ;
1919} ) ;
2020
2121setInterval ( function ( ) {
22- if ( didScroll ) {
23- didScroll = false ;
24- // Check your page position and then
25- // Load in more results
26- // outerPane.html();
27- }
22+ if ( didScroll ) {
23+ didScroll = false ;
24+ // Check your page position and then
25+ // Load in more results
26+ // outerPane.html();
27+ }
2828} , 250 ) ;
2929
3030// reference
You can’t perform that action at this time.
0 commit comments