cleanup style fixed in separate PR and few other things

Matthias Bussonnier 12 years ago
parent b24e69b058
commit 87dc17ccbc

@ -227,9 +227,6 @@ define([
help : 'select previous cell',
help_index : 'da',
handler : function (event) {
if(event.codemirrorIgnore===true){
return false;
}
var index = that.notebook.get_selected_index();
if (index !== 0 && index !== null) {
that.notebook.select_prev();
@ -242,9 +239,6 @@ define([
help : 'select next cell',
help_index : 'db',
handler : function (event) {
if(event.codemirrorIgnore===true){
return false;
}
var index = that.notebook.get_selected_index();
if (index !== (that.notebook.ncells()-1) && index !== null) {
that.notebook.select_next();

@ -46,13 +46,12 @@ require([
) {
"use strict";
// compat with old IPython, remove for IPython > 3.0
window.CodeMirror = CodeMirror;
$('#ipython-main-app').addClass('border-box-sizing');
$('div#notebook_panel').addClass('border-box-sizing');
var common_options = {
ws_url : utils.get_body_data("wsUrl"),
base_url : utils.get_body_data("baseUrl"),
ws_url : IPython.utils.get_body_data("wsUrl"),
notebook_path : utils.get_body_data("notebookPath"),
notebook_name : utils.get_body_data('notebookName')
};

Loading…
Cancel
Save