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