From 7d0e0ec249d7420636c2d99f979df3fd682b24e7 2014-09-16 20:45:30 From: Jonathan Frederic Date: 2014-09-16 20:45:30 Subject: [PATCH] Add ScrollManager to global ipy namespace in main.js instead of, in the bottom of the scroll manager js file. --- diff --git a/IPython/html/static/notebook/js/scrollmanager.js b/IPython/html/static/notebook/js/scrollmanager.js index 912d3aa..cbc7d4b 100644 --- a/IPython/html/static/notebook/js/scrollmanager.js +++ b/IPython/html/static/notebook/js/scrollmanager.js @@ -79,9 +79,6 @@ define([], function(){ $('#notebook').animate({'scrollTop': $('#notebook').scrollTop() + pages * $('#notebook').height()}, this.animation_speed); }; - // For convinience, add the ScrollManager class to the global namespace - IPython.ScrollManager = ScrollManager; // Return naemspace for require.js loads return ScrollManager; - });