[Python-modules-commits] [jupyter-notebook] 01/03: Add requirejs shim for xterm
Gordon Ball
chronitis-guest at moszumanska.debian.org
Sun Nov 19 17:11:06 UTC 2017
This is an automated email from the git hooks/post-receive script.
chronitis-guest pushed a commit to branch master
in repository jupyter-notebook.
commit a67cb72d067f60ea5588afc8e729246090a84ff3
Author: Gordon Ball <gordon at chronitis.net>
Date: Sun Nov 19 15:28:09 2017 +0000
Add requirejs shim for xterm
The xtermjs package (as of 2.7.0+ds1-1) doesn't appear to export an
object, AMD-style. This adds a shim to retrieve `window.Terminal` so
that `require(["xterm"], ...)` will hopefully work.
---
tools/build-main.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/build-main.js b/tools/build-main.js
index 37f74cb..b800749 100644
--- a/tools/build-main.js
+++ b/tools/build-main.js
@@ -57,6 +57,9 @@ var rjs_config = {
"jquery-ui": {
deps: ["jquery"],
},
+ xterm: {
+ exports: "Terminal"
+ },
},
exclude: [
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/jupyter-notebook.git
More information about the Python-modules-commits
mailing list