##// END OF EJS Templates
Introduce info/warning/danger to notification area...
Introduce info/warning/danger to notification area Add corresponding style. Should fix #5984 Error when (auto)saving and things along should stand out in the UI for the user to investigate the reason as soon as possible not to loose work later.

File last commit:

r15205:633c7dd8
r17368:a2099a9f
Show More
kernel.js
28 lines | 833 B | application/javascript | JavascriptLexer
Matthias BUSSONNIER
add kernel test
r14718
//
// Miscellaneous javascript tests
//
casper.notebook_test(function () {
this.evaluate(function () {
IPython.notebook.kernel.kernel_info(
function(msg){
Matthias BUSSONNIER
typo
r14722 IPython._kernel_info_response = msg;
Matthias BUSSONNIER
add kernel test
r14718 })
});
this.waitFor(
function () {
return this.evaluate(function(){
return IPython._kernel_info_response;
});
});
Matthias BUSSONNIER
fix js formatting
r14719 this.then(function () {
Matthias BUSSONNIER
typo
r14722 var kernel_info_response = this.evaluate(function(){
Matthias BUSSONNIER
fix js formatting
r14719 return IPython._kernel_info_response;
Matthias BUSSONNIER
add kernel test
r14718 });
this.test.assertTrue( kernel_info_response.msg_type === 'kernel_info_reply', 'Kernel info request return kernel_info_reply');
this.test.assertTrue( kernel_info_response.content !== undefined, 'Kernel_info_reply is not undefined');
Matthias BUSSONNIER
fix js formatting
r14719 });
Matthias BUSSONNIER
add kernel test
r14718
});