Skip to content

Commit 56d3c98

Browse files
authored
Remove requirejs as dependency (#35)
1 parent af54021 commit 56d3c98

File tree

6 files changed

+13
-18
lines changed

6 files changed

+13
-18
lines changed

ipyshiny/_dependencies.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@
2222
# TODO: scripts/static_download.R should produce/update these
2323
def libembed_dependency() -> List[HTMLDependency]:
2424
return [
25-
# Load 3rd party widget dependencies at runtime via requirejs. One of the benefits of doing it
26-
# this way is that for whatever reason, if we can't find the widgets statically assets locally,
27-
# the requireLoader we use client side will fallback to loading the dependencies from a CDN.
28-
HTMLDependency(
29-
name="requirejs",
30-
version="2.3.4",
31-
source={"package": "ipyshiny", "subdir": "static"},
32-
script={"src": "require.min.js"},
33-
),
3425
# Jupyter Notebook/Lab both come "preloaded" with several @jupyter-widgets packages
3526
# (i.e., base, controls, output), all of which are bundled into this extension.js file
3627
# provided by the widgetsnbextension package, which is a dependency of ipywidgets.

ipyshiny/static/output.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)