feat(Canvas): add support for displaying output in Jupyter Notebook#60
feat(Canvas): add support for displaying output in Jupyter Notebook#60DjDeveloperr merged 2 commits intomainfrom
Conversation
|
Well I got it to work and it must be a TypeScript or Deno quirk. If you bind it in the constructor then the Deno kernel picks it up: constructor(width: number, height: number, gpu = false) {
this[$display] = this[$display].bind(this);
👀 Something weird with Deno/Rust picking up the available function on this class @bartlomieju. We gotta find a minimal version that has this odd behavior. |
|
Could you point me which one is not working here? Is it |
@bartlomieju it's |
|
Thanks, I'll try to take a look ASAP. |
|
I think this is related to denoland/deno#20528 |
|
So the underlying issue is that this error is raised: However I don't yet understand why that's the case. The transpiled output looks correct and AFAIK |
|
The bug causing it to not render properly has been fixed: denoland/deno#20789 I had to jump to denoland/deno@cbddf57 to make it work though because deno |
|
Awesome fix @rgbkrk - I'll cut a release once that fix makes it to stable! |
|
The fix for ffi is on |
|
1.37.2 is out with the fix, feel free to ship 🚢 |





No description provided.