##// END OF EJS Templates
Add ScrollManager to global ipy namespace in main.js instead of,...
Jonathan Frederic -
Show More
@@ -79,9 +79,6 b' define([], function(){'
79 $('#notebook').animate({'scrollTop': $('#notebook').scrollTop() + pages * $('#notebook').height()}, this.animation_speed);
79 $('#notebook').animate({'scrollTop': $('#notebook').scrollTop() + pages * $('#notebook').height()}, this.animation_speed);
80 };
80 };
81
81
82 // For convinience, add the ScrollManager class to the global namespace
83 IPython.ScrollManager = ScrollManager;
84 // Return naemspace for require.js loads
82 // Return naemspace for require.js loads
85 return ScrollManager;
83 return ScrollManager;
86
87 });
84 });
General Comments 0
You need to be logged in to leave comments. Login now