Skip to content

Commit 412aec6

Browse files
authored
Merge pull request #48 from fcollonval/fix/legacy-nb
Support legacy notebook launcher
2 parents 7f7f6f2 + 75badfc commit 412aec6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

jupyterlab_pullrequests/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,8 @@ def _load_jupyter_server_extension(server_app):
2222
config = PRConfig(config=server_app.config)
2323
setup_handlers(server_app.web_app, config)
2424
server_app.log.info("Registered jupyterlab_pullrequests extension")
25+
26+
27+
# for legacy launching with notebok (e.g. Binder)
28+
_jupyter_server_extension_paths = _jupyter_server_extension_points
29+
load_jupyter_server_extension = _load_jupyter_server_extension

0 commit comments

Comments
 (0)