mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Check for widget dependencies in jupyter-repl-insert-data
This commit is contained in:
parent
cadc26f32b
commit
59eba9d3c4
1 changed files with 3 additions and 1 deletions
|
@ -580,7 +580,9 @@ When no valid mimetype is present in DATA, a warning is shown."
|
|||
(not (memq k jupyter-repl-graphic-mimetypes))))
|
||||
collect k)))
|
||||
(cond
|
||||
((memq :application/vnd.jupyter.widget-view+json mimetypes)
|
||||
((and (memq :application/vnd.jupyter.widget-view+json mimetypes)
|
||||
(require 'websocket nil t)
|
||||
(require 'simple-httpd nil t))
|
||||
(jupyter-widgets-display-model
|
||||
jupyter-current-client
|
||||
(plist-get (plist-get data :application/vnd.jupyter.widget-view+json)
|
||||
|
|
Loading…
Add table
Reference in a new issue