Open makenai opened 9 years ago
Double checked. This is a hack:
$('#execute').on('click', function(e) {
e.preventDefault();
setTimeout(function() {
RunningWindow.show();
}, 1000);
if ( $('#code-tab').parent().is('.active') ) {
sendMessage( 'code', editor.getValue() );
} else {
sendMessage( 'code', generateCode() );
}
});
This is now complete and merged in as part of #38
Right now we just show 'Running' when they hit run. The process could actually have failed horribly in the background. Let's get better communication going.