Commit b2dfd0e4 authored by Andrew Gibiansky's avatar Andrew Gibiansky

Fixing pager Javascript

parent f0ab4668
...@@ -10,7 +10,6 @@ define(['require', ...@@ -10,7 +10,6 @@ define(['require',
var onload = function(){ var onload = function(){
console.log('Kernel haskell kernel.js is loading.'); console.log('Kernel haskell kernel.js is loading.');
events.on('app_initialized.NotebookApp', function(){
// add here logic that shoudl be run once per **page load** // add here logic that shoudl be run once per **page load**
// like adding specific UI, or changing the default value // like adding specific UI, or changing the default value
// of codecell highlight. // of codecell highlight.
...@@ -57,7 +56,6 @@ define(['require', ...@@ -57,7 +56,6 @@ define(['require',
IPython.Pager.prototype.append_text = function (text) { IPython.Pager.prototype.append_text = function (text) {
this.pager_element.find(".container").append($('<div/>').html(IPython.utils.autoLinkUrls(text))); this.pager_element.find(".container").append($('<div/>').html(IPython.utils.autoLinkUrls(text)));
}; };
});
events.on('shell_reply.Kernel', function() { events.on('shell_reply.Kernel', function() {
// Add logic here that should be run once per reply. // Add logic here that should be run once per reply.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment