-
Notifications
You must be signed in to change notification settings - Fork 946
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce synchronous has_model function in the manager base class.
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
c419bfe
commit c599dca
Showing
2 changed files
with
65 additions
and
91 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
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