├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── examples ├── filebrowser │ ├── index.css │ ├── index.html │ ├── main.py │ ├── package.json │ ├── sample.md │ ├── src │ │ ├── index.ts │ │ ├── tsconfig.json │ │ └── typings.d.ts │ └── webpack.conf.js └── terminal │ ├── index.css │ ├── index.html │ ├── main.py │ ├── package.json │ ├── src │ ├── index.ts │ ├── tsconfig.json │ └── typings.d.ts │ └── webpack.conf.js ├── package.json ├── scripts ├── buildexamples.js ├── cleanexamples.js ├── copycss.js ├── travis_after_success.sh ├── travis_install.sh └── travis_script.sh ├── src ├── clipboard │ └── index.ts ├── codemirror │ ├── codemirror-ipython.ts │ ├── codemirror-ipythongfm.ts │ ├── index.ts │ └── widget.ts ├── dialog │ ├── index.css │ ├── index.ts │ └── theme.css ├── docmanager │ ├── context.ts │ ├── default.ts │ ├── editor.ts │ ├── images.ts │ ├── index.ts │ ├── interfaces.ts │ ├── kernelselector.ts │ ├── manager.ts │ ├── registry.ts │ └── theme.css ├── filebrowser │ ├── browser.ts │ ├── buttons.ts │ ├── crumbs.ts │ ├── dialogs.ts │ ├── index.css │ ├── index.ts │ ├── listing.ts │ ├── model.ts │ ├── theme.css │ ├── tsconfig.json │ └── utils.ts ├── index.css ├── renderers │ ├── index.ts │ └── latex.ts ├── rendermime │ └── index.ts ├── terminal │ ├── index.css │ ├── index.ts │ ├── theme.css │ └── tsconfig.json ├── theme.css ├── tsconfig.json ├── typings.d.ts └── widgets │ └── index.ts ├── test ├── karma-cov.conf.js ├── karma.conf.js ├── src │ ├── dialog │ │ └── dialog.spec.ts │ ├── index.ts │ ├── renderers │ │ ├── latex.spec.ts │ │ └── renderers.spec.ts │ ├── rendermime │ │ └── rendermime.spec.ts │ ├── tsconfig.json │ ├── typings.d.ts │ └── utils.ts ├── webpack-cov.conf.js └── webpack.conf.js └── typings ├── ansi_up └── ansi_up.d.ts ├── backbone ├── backbone-global.d.ts └── backbone.d.ts ├── codemirror └── codemirror.d.ts ├── es6-promise └── es6-promise.d.ts ├── expect.js └── expect.js.d.ts ├── jquery └── jquery.d.ts ├── jupyter-js-widgets └── jupyter-js-widgets.d.ts ├── marked └── marked.d.ts ├── mathjax └── mathjax.d.ts ├── mocha └── mocha.d.ts ├── moment └── moment.d.ts ├── require └── require.d.ts ├── underscore └── underscore.d.ts └── xterm └── xterm.d.ts /.gitignore: -------------------------------------------------------------------------------- 1 | *.suo 2 | *.user 3 | .DS_Store 4 | node_modules 5 | coverage 6 | lib 7 | build 8 | docs 9 | .ipynb_checkpoints 10 | Unititled* 11 | untitled* 12 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.12' 4 | sudo: false 5 | env: 6 | matrix: 7 | - GROUP= 8 | global: 9 | - GH_REF: github.com/jupyter/jupyter-js-ui.git 10 | - secure: ubVHruPyZKaY5IeG8VKjlIp0lTaAToNqWzLTzeT36GTz9DgCWvjRmbt4ZjezGToW4+eG2PT0OEDW5N7MBxmTxbOgdy4q6H98DsIeYLOFXaiggpWt5fpe8MWQcqIm3QIqzgJF4oEtMjAYvRFDgZHOq8ozChafjYB2Xt/G44in7cx7zp+AQwX5ACc9ku8N2x9Iyv7PtOl4Wb16ngQbLhJmNiX/x15lpA656Zwq2agPD5fdcu0w5fPbnkVXbCFDdSKbzrkyFvYDcbJUjE8lir+Eoj8rHwLpznMji6aunRaIXIeuNfRh2mxpZLdphlVJc+1KB69iPD40he21G/93gFrfee44H4jND+z07VFPt1QKBaPbdJxV40A6aJ8AtV1n8BvNjLEC+zTzGyhlIYcvb6c5Az70ERY+icz77zzBGesoXxRIGCmQSKcThhxuTicbJqpYcHQecvpuY9dCzeT8250FCkfeoFd9mxQaqyGjaJMLWnN/fsdDHmFuFD6BRlDMTgPYCfY9D8rMikd8D4WDEZKxx1AMPBDcKWXFvnaCmkYq0Of4ka8UUOZdX7MUC5JL6atGEMxPMyMoZqaGsIfFKhDH6LRuDKPSZMyNmTXGWBzcd3BZTXuw1W3CzM88zdTwoLjsEs6fcu1/rAwJllv/Ygq5CuaClC5BqEBmaYGOk4eVQDA= 11 | install: 12 | - bash ./scripts/travis_install.sh 13 | script: 14 | - bash ./scripts/travis_script.sh 15 | after_success: 16 | - bash ./scripts/travis_after_success.sh 17 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | We follow the [IPython Contributing Guide](https://github.com/ipython/ipython/blob/master/CONTRIBUTING.md). 4 | 5 | All source code is written in [TypeScript](http://www.typescriptlang.org/Handbook). See the [Style Guide](https://github.com/phosphorjs/phosphor/wiki/Style-Guide). 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015, Project Jupyter 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | 7 | * Redistributions of source code must retain the above copyright notice, this 8 | list of conditions and the following disclaimer. 9 | 10 | * Redistributions in binary form must reproduce the above copyright notice, 11 | this list of conditions and the following disclaimer in the documentation 12 | and/or other materials provided with the distribution. 13 | 14 | * Neither the name of jupyter-js-filebrowser nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 22 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 24 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 25 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 26 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | 29 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Jupyter JS UI 2 | ============= 3 | 4 | JavaScript UI Components for Jupyter. 5 | 6 | [API Docs](http://jupyter.github.io/jupyter-js-ui/) 7 | 8 | 9 | Package Install 10 | --------------- 11 | 12 | **Prerequisites** 13 | - [node](http://nodejs.org/) 14 | - [python](https://www.continuum.io/downloads) 15 | 16 | ```bash 17 | npm install --save jupyter-js-ui 18 | conda install notebook # notebook 4.2+ required 19 | ``` 20 | 21 | 22 | Source Build 23 | ------------ 24 | 25 | **Prerequisites** 26 | - [git](http://git-scm.com/) 27 | - [node 0.12+](http://nodejs.org/) 28 | - [python](https://www.continuum.io/downloads) 29 | 30 | ```bash 31 | git clone https://github.com/jupyter/jupyter-js-ui.git 32 | cd jupyter-js-ui 33 | npm install 34 | npm run build 35 | conda install notebook # notebook 4.2+ required 36 | ``` 37 | 38 | **Rebuild** 39 | ```bash 40 | npm run clean 41 | npm run build 42 | ``` 43 | 44 | 45 | Run Tests 46 | --------- 47 | 48 | Follow the source build instructions first. 49 | 50 | ```bash 51 | npm test 52 | ``` 53 | 54 | 55 | Build Examples 56 | -------------- 57 | 58 | Follow the source build instructions first. 59 | Requires a Python install with the Jupyter notebook. 60 | 61 | ```bash 62 | npm run build:examples 63 | ``` 64 | 65 | Change to appropriate `examples` directory and run `python main.py`. 66 | 67 | 68 | Build Docs 69 | ---------- 70 | 71 | Follow the source build instructions first. 72 | 73 | ```bash 74 | npm run docs 75 | ``` 76 | 77 | Navigate to `docs/index.html`. 78 | 79 | 80 | Supported Runtimes 81 | ------------------ 82 | 83 | The runtime versions which are currently *known to work* are listed below. 84 | Earlier versions may also work, but come with no guarantees. 85 | 86 | - IE 11+ 87 | - Firefox 32+ 88 | - Chrome 38+ 89 | 90 | Note: "requirejs" must be included in a global context (usually as a 91 | ` 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 |