Show More
@@ -180,6 +180,7 b' define([' | |||||
180 | url = url + "?" + qs; |
|
180 | url = url + "?" + qs; | |
181 | } |
|
181 | } | |
182 |
|
182 | |||
|
183 | this.events.trigger('kernel_starting.Kernel', {kernel: this}); | |||
183 | var that = this; |
|
184 | var that = this; | |
184 | var on_success = function (data, status, xhr) { |
|
185 | var on_success = function (data, status, xhr) { | |
185 | that.events.trigger('kernel_created.Kernel', {kernel: that}); |
|
186 | that.events.trigger('kernel_created.Kernel', {kernel: that}); | |
@@ -402,7 +403,6 b' define([' | |||||
402 | * @function _kernel_connected |
|
403 | * @function _kernel_connected | |
403 | */ |
|
404 | */ | |
404 | this.events.trigger('kernel_connected.Kernel', {kernel: this}); |
|
405 | this.events.trigger('kernel_connected.Kernel', {kernel: this}); | |
405 | this.events.trigger('kernel_starting.Kernel', {kernel: this}); |
|
|||
406 | // get kernel info so we know what state the kernel is in |
|
406 | // get kernel info so we know what state the kernel is in | |
407 | var that = this; |
|
407 | var that = this; | |
408 | this.kernel_info(function (reply) { |
|
408 | this.kernel_info(function (reply) { |
@@ -163,9 +163,9 b' casper.notebook_test(function () {' | |||||
163 | 'kill/start', |
|
163 | 'kill/start', | |
164 | [ |
|
164 | [ | |
165 | 'kernel_killed.Kernel', |
|
165 | 'kernel_killed.Kernel', | |
|
166 | 'kernel_starting.Kernel', | |||
166 | 'kernel_created.Kernel', |
|
167 | 'kernel_created.Kernel', | |
167 | 'kernel_connected.Kernel', |
|
168 | 'kernel_connected.Kernel', | |
168 | 'kernel_starting.Kernel', |
|
|||
169 | 'kernel_ready.Kernel' |
|
169 | 'kernel_ready.Kernel' | |
170 | ], |
|
170 | ], | |
171 | function () { |
|
171 | function () { | |
@@ -205,7 +205,6 b' casper.notebook_test(function () {' | |||||
205 | 'kernel_restarting.Kernel', |
|
205 | 'kernel_restarting.Kernel', | |
206 | 'kernel_created.Kernel', |
|
206 | 'kernel_created.Kernel', | |
207 | 'kernel_connected.Kernel', |
|
207 | 'kernel_connected.Kernel', | |
208 | 'kernel_starting.Kernel', |
|
|||
209 | 'kernel_ready.Kernel' |
|
208 | 'kernel_ready.Kernel' | |
210 | ], |
|
209 | ], | |
211 | function () { |
|
210 | function () { |
@@ -100,7 +100,6 b' casper.notebook_test(function () {' | |||||
100 | [ |
|
100 | [ | |
101 | 'kernel_created.Session', |
|
101 | 'kernel_created.Session', | |
102 | 'kernel_connected.Kernel', |
|
102 | 'kernel_connected.Kernel', | |
103 | 'kernel_starting.Kernel', |
|
|||
104 | 'kernel_ready.Kernel' |
|
103 | 'kernel_ready.Kernel' | |
105 | ], |
|
104 | ], | |
106 | function () { |
|
105 | function () { | |
@@ -129,7 +128,6 b' casper.notebook_test(function () {' | |||||
129 | 'kernel_killed.Session', |
|
128 | 'kernel_killed.Session', | |
130 | 'kernel_created.Session', |
|
129 | 'kernel_created.Session', | |
131 | 'kernel_connected.Kernel', |
|
130 | 'kernel_connected.Kernel', | |
132 | 'kernel_starting.Kernel', |
|
|||
133 | 'kernel_ready.Kernel' |
|
131 | 'kernel_ready.Kernel' | |
134 | ], |
|
132 | ], | |
135 | function () { |
|
133 | function () { |
General Comments 0
You need to be logged in to leave comments.
Login now