Show More
@@ -278,6 +278,11 b' define([' | |||||
278 | * @method execute |
|
278 | * @method execute | |
279 | */ |
|
279 | */ | |
280 | CodeCell.prototype.execute = function () { |
|
280 | CodeCell.prototype.execute = function () { | |
|
281 | if (!this.kernel || !this.kernel.is_connected()) { | |||
|
282 | console.log("Can't execute, kernel is not connected."); | |||
|
283 | return; | |||
|
284 | } | |||
|
285 | ||||
281 | this.output_area.clear_output(); |
|
286 | this.output_area.clear_output(); | |
282 |
|
287 | |||
283 | // Clear widget area |
|
288 | // Clear widget area |
General Comments 0
You need to be logged in to leave comments.
Login now