mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-01 12:56:54 +08:00
Merge pull request #1352 from blink1073/promise-polyfill
Make JupyterLab more self contained
This commit is contained in:
commit
db7fa4ab85
@ -2,8 +2,13 @@
|
||||
// Distributed under the terms of the Modified BSD License.
|
||||
'use strict';
|
||||
|
||||
// Load CSS.
|
||||
require('font-awesome/css/font-awesome.min.css');
|
||||
require('jupyter-js-plugins/lib/default-theme/index.css');
|
||||
|
||||
// ES6 Promise polyfill
|
||||
require('es6-promise').polyfill();
|
||||
|
||||
var phosphide = require('phosphide/lib/core/application');
|
||||
|
||||
var app = new phosphide.Application({
|
||||
|
@ -6,12 +6,13 @@
|
||||
"main": "lib/index.js",
|
||||
"typings": "lib/index.d.ts",
|
||||
"dependencies": {
|
||||
"es6-promise": "^3.1.2",
|
||||
"font-awesome": "^4.6.1",
|
||||
"jupyter-js-plugins": "^0.11.8",
|
||||
"phosphide": "^0.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"css-loader": "^0.23.1",
|
||||
"es6-promise": "^3.0.2",
|
||||
"file-loader": "^0.8.5",
|
||||
"json-loader": "^0.5.4",
|
||||
"rimraf": "^2.5.0",
|
||||
|
@ -6,8 +6,6 @@
|
||||
|
||||
<title>{{page_title}}</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<link rel="stylesheet" type="text/css" href="{{static_url("components/font-awesome/css/font-awesome.css")}}"></link>
|
||||
<script src="{{static_url("components/es6-promise/promise.min.js")}}" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script>
|
||||
<script>
|
||||
require.config({
|
||||
|
Loading…
Reference in New Issue
Block a user