##// END OF EJS Templates
cleanup style fixed in separate PR and few other things
Matthias Bussonnier -
Show More
@@ -227,9 +227,6 b' define(['
227 help : 'select previous cell',
227 help : 'select previous cell',
228 help_index : 'da',
228 help_index : 'da',
229 handler : function (event) {
229 handler : function (event) {
230 if(event.codemirrorIgnore===true){
231 return false;
232 }
233 var index = that.notebook.get_selected_index();
230 var index = that.notebook.get_selected_index();
234 if (index !== 0 && index !== null) {
231 if (index !== 0 && index !== null) {
235 that.notebook.select_prev();
232 that.notebook.select_prev();
@@ -242,9 +239,6 b' define(['
242 help : 'select next cell',
239 help : 'select next cell',
243 help_index : 'db',
240 help_index : 'db',
244 handler : function (event) {
241 handler : function (event) {
245 if(event.codemirrorIgnore===true){
246 return false;
247 }
248 var index = that.notebook.get_selected_index();
242 var index = that.notebook.get_selected_index();
249 if (index !== (that.notebook.ncells()-1) && index !== null) {
243 if (index !== (that.notebook.ncells()-1) && index !== null) {
250 that.notebook.select_next();
244 that.notebook.select_next();
@@ -46,13 +46,12 b' require(['
46 ) {
46 ) {
47 "use strict";
47 "use strict";
48
48
49 // compat with old IPython, remove for IPython > 3.0
49 window.CodeMirror = CodeMirror;
50 window.CodeMirror = CodeMirror;
50 $('#ipython-main-app').addClass('border-box-sizing');
51 $('div#notebook_panel').addClass('border-box-sizing');
52
51
53 var common_options = {
52 var common_options = {
53 ws_url : utils.get_body_data("wsUrl"),
54 base_url : utils.get_body_data("baseUrl"),
54 base_url : utils.get_body_data("baseUrl"),
55 ws_url : IPython.utils.get_body_data("wsUrl"),
56 notebook_path : utils.get_body_data("notebookPath"),
55 notebook_path : utils.get_body_data("notebookPath"),
57 notebook_name : utils.get_body_data('notebookName')
56 notebook_name : utils.get_body_data('notebookName')
58 };
57 };
General Comments 0
You need to be logged in to leave comments. Login now