n-riesco / ijavascript

IJavascript is a javascript kernel for the Jupyter notebook
Other
2.18k stars 187 forks source link

_ #104

Closed ghost closed 6 years ago

ghost commented 7 years ago

_

n-riesco commented 7 years ago

I'm still a bit confused. I still don't know if the Javascript code you want to run is:

If run by IJavascript, then you just need to keep track of the results IJavascript sends at each cell. For example:

// In[1]:
var cell1 = computeResultForCell1();
$$.sendResult(cell1);

// In[2]:
var cell2 = computeResultForCell2(cell1);
$$.sendResult(cell2);

If what you want is to run Javascript on the frontend, maybe something like nbextensions is what you need.

If what you need is something more interactive then #100 needs implementing in IJavascript. But #100 won't happen before #95 (which is fairly advanced thanks to @gnestor).

ghost commented 7 years ago

Where is $$ defined in the code? I can't find the sendFile function.

ghost commented 7 years ago

_

n-riesco commented 6 years ago

Closing in favour of #106