-
Notifications
You must be signed in to change notification settings - Fork 795
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix anywidget deprecation warning (#3364)
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ import lodashDebounce from "https://esm.sh/[email protected]/debounce"; | |
// the javascript_bundle function for details on the available imports and their names. | ||
// If an additional import is required in the future, it will need to be added to vl-convert | ||
// in order to preserve offline support. | ||
export async function render({ model, el }) { | ||
async function render({ model, el }) { | ||
let finalize; | ||
|
||
function showError(error){ | ||
|
@@ -225,4 +225,6 @@ function trap(view, fn) { | |
view.error(error); | ||
} | ||
}; | ||
} | ||
} | ||
|
||
export default { render } |