forked from jupyter-widgets/ipywidgets
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port c599dca to 8.x: Introduce synchronous has_model function in the …
…manager base class From jupyter-widgets#3377. This simplifies our code that has had to work around get_model either returning undefined or a rejected promise if a model was not registered. This paves the way for a future get_model in 8.0 that is truly asynchronous, never returning undefined.
- Loading branch information
1 parent
92632cb
commit 3245912
Showing
1 changed file
with
47 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters