Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jupyter-widgets/ipywidgets
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d3043d09e9b43c1d54deb4fe2bd45a8af1577bb0
Choose a base ref
..
head repository: jupyter-widgets/ipywidgets
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: afd0e0daeeeed58fec28408e093412510223541b
Choose a head ref
Showing with 2 additions and 0 deletions.
  1. +2 −0 packages/html-manager/src/libembed-amd.ts
2 changes: 2 additions & 0 deletions packages/html-manager/src/libembed-amd.ts
Original file line number Diff line number Diff line change
@@ -52,6 +52,8 @@ function requireLoader(moduleName: string, moduleVersion: string) {
* Render widgets in a given element.
*
* @param element (default document.documentElement) The element containing widget state and views.
* @param loader (default requireLoader) The function used to look up the modules containing
* the widgets' models and views classes. (The default loader looks them up on unpkg.com)
*/
export
function renderWidgets(element = document.documentElement, loader: (moduleName: string, moduleVersion: string) => Promise<any> = requireLoader) {