Show More
@@ -81,8 +81,7 define([ | |||||
81 | .attr('href',css_url); |
|
81 | .attr('href',css_url); | |
82 | }, |
|
82 | }, | |
83 | error:function(){ |
|
83 | error:function(){ | |
84 | console.warn(new_mode_url+' does not provide custom URL, you might see a 404 error that should not prevent '+ |
|
84 | console.info("No custom kernel.css at URL:", css_url) | |
85 | ' the Jupyter notebook from working :' ,css_url ); |
|
|||
86 | } |
|
85 | } | |
87 | }); |
|
86 | }); | |
88 |
|
87 | |||
@@ -116,12 +115,15 define([ | |||||
116 | }, |
|
115 | }, | |
117 | function(err){ |
|
116 | function(err){ | |
118 | // if new mode does not have custom.js |
|
117 | // if new mode does not have custom.js | |
119 | console.warn('Any above 404 on '+new_mode_url+'.js is normal'); |
|
118 | console.info("No custom kernel.css at URL:", new_mode_url) | |
120 | } |
|
119 | } | |
121 | ); |
|
120 | ); | |
122 | }; |
|
121 | }; | |
123 |
|
122 | |||
124 | KernelSelector.prototype.lock_switch = function() { |
|
123 | KernelSelector.prototype.lock_switch = function() { | |
|
124 | // should set a flag and display warning+reload if user want to | |||
|
125 | // re-change kernel. As UI discussion never finish | |||
|
126 | // making that a separate PR. | |||
125 | console.warn('switching kernel is not guaranteed to work !'); |
|
127 | console.warn('switching kernel is not guaranteed to work !'); | |
126 | }; |
|
128 | }; | |
127 |
|
129 |
General Comments 0
You need to be logged in to leave comments.
Login now