mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-09 03:50:45 +08:00
Get all of the apps working except notebookapp
This commit is contained in:
parent
81a2998fe0
commit
3498a5193c
17
bower.json
17
bower.json
@ -2,20 +2,21 @@
|
||||
"name": "jupyter-notebook-deps",
|
||||
"version": "0.0.1",
|
||||
"dependencies": {
|
||||
"backbone": "components/backbone#~1.2",
|
||||
"bootstrap": "components/bootstrap#~3.3",
|
||||
"bootstrap-tour": "0.9.0",
|
||||
"codemirror": "~5.5",
|
||||
"es6-promise": "~1.0",
|
||||
"font-awesome": "components/font-awesome#~4.2.0",
|
||||
"requirejs": "~2.1",
|
||||
"google-caja": "5669",
|
||||
"MathJax": "components/MathJax#~2.5",
|
||||
"bootstrap": "components/bootstrap#~3.3",
|
||||
"bootstrap-tour": "0.9.0",
|
||||
"jquery": "components/jquery#~2.0",
|
||||
"jquery-ui": "components/jqueryui#~1.10",
|
||||
"marked": "~0.3",
|
||||
"MathJax": "components/MathJax#~2.5",
|
||||
"moment": "~2.8.4",
|
||||
"requirejs": "~2.1",
|
||||
|
||||
"term.js": "chjj/term.js#~0.0.4",
|
||||
"backbone": "components/backbone#~1.2",
|
||||
"codemirror": "~5.5",
|
||||
"marked": "~0.3",
|
||||
"moment": "~2.8.4",
|
||||
"text-encoding": "~0.1",
|
||||
"underscore": "components/underscore#~1.5",
|
||||
"jquery-typeahead": "~2.0.0"
|
||||
|
@ -4,15 +4,18 @@ var browserify = require('browserify');
|
||||
|
||||
var aliasifyConfig = {
|
||||
aliases: {
|
||||
underscore : 'components/underscore/underscore-min',
|
||||
backbone : 'components/backbone/backbone-min',
|
||||
jquery: 'components/jquery/jquery.min',
|
||||
// underscore : 'components/underscore/underscore-min',
|
||||
// backbone : 'components/backbone/backbone-min',
|
||||
// jquery: 'components/jquery/jquery.min',
|
||||
bootstrap: 'components/bootstrap/js/bootstrap.min',
|
||||
bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min',
|
||||
jqueryui: 'components/jquery-ui/ui/minified/jquery-ui.min',
|
||||
moment: 'components/moment/moment',
|
||||
codemirror: 'components/codemirror',
|
||||
termjs: 'components/term.js/src/term'
|
||||
// jqueryui: 'components/jquery-ui/ui/minified/jquery-ui.min',
|
||||
// moment: 'components/moment/moment',
|
||||
// codemirror: 'components/codemirror',
|
||||
// termjs: 'components/term.js/src/term'
|
||||
|
||||
jqueryui: 'jquery-ui',
|
||||
termjs: 'term.js'
|
||||
},
|
||||
verbose: false
|
||||
}
|
||||
|
@ -3,7 +3,9 @@
|
||||
"use strict";
|
||||
|
||||
// Contents must be loaded at runtime.
|
||||
requirejs(['contents'], function(contents_service) {
|
||||
// jQuery must also be loaded at runtime and available globally
|
||||
// in order for bootstrap to work...
|
||||
requirejs(['contents', 'bootstrap'], function(contents_service) {
|
||||
var $ = require('jquery');
|
||||
var IPython = require('base/js/namespace');
|
||||
var utils = require('base/js/utils');
|
||||
@ -24,7 +26,7 @@ requirejs(['contents'], function(contents_service) {
|
||||
config.load();
|
||||
var common_config = new configmod.ConfigSection('common', {base_url: base_url});
|
||||
common_config.load();
|
||||
contents = new contents.Contents({
|
||||
var contents = new contents_service.Contents({
|
||||
base_url: base_url,
|
||||
common_config: common_config
|
||||
});
|
||||
|
@ -3,7 +3,9 @@
|
||||
"use strict";
|
||||
|
||||
// Contents must be loaded at runtime.
|
||||
requirejs(['contents'], function(contents_service) {
|
||||
// jQuery must also be loaded at runtime and available globally
|
||||
// in order for bootstrap to work...
|
||||
requirejs(['contents', 'jquery'], function(contents_service) {
|
||||
var IPython = require('base/js/namespace');
|
||||
var $ = require('jquery');
|
||||
var notebook = require('notebook/js/notebook');
|
||||
|
@ -3,7 +3,6 @@
|
||||
"use strict";
|
||||
|
||||
var $ = require('jquery');
|
||||
var termjs = require('termjs');
|
||||
var utils = require('base/js/utils');
|
||||
var page = require('base/js/page');
|
||||
var configmod = require('services/config');
|
||||
|
@ -1,11 +1,12 @@
|
||||
// Copyright (c) Jupyter Development Team.
|
||||
// Distributed under the terms of the Modified BSD License.
|
||||
"use strict";
|
||||
|
||||
var termjs = require('termjs');
|
||||
|
||||
exports.make_terminal = function(element, size, ws_url) {
|
||||
var ws = new WebSocket(ws_url);
|
||||
Terminal.brokenBold = true;
|
||||
var term = new Terminal({
|
||||
termjs.Terminal.brokenBold = true;
|
||||
var term = new termjs.Terminal({
|
||||
cols: size.cols,
|
||||
rows: size.rows,
|
||||
screenKeys: false,
|
||||
|
@ -3,7 +3,9 @@
|
||||
"use strict";
|
||||
|
||||
// Contents must be loaded at runtime.
|
||||
requirejs(['contents'], function(contents_service) {
|
||||
// jQuery must also be loaded at runtime and available globally
|
||||
// in order for bootstrap to work...
|
||||
requirejs(['contents', 'jquery'], function(contents_service) {
|
||||
|
||||
var $ = require('jquery');
|
||||
var IPython = require('base/js/namespace');
|
||||
|
15
package.json
15
package.json
@ -28,9 +28,16 @@
|
||||
"bower": "*",
|
||||
"browserify": "^11.0.1",
|
||||
"concurrently": "^0.1.1",
|
||||
"less": "~2"
|
||||
},
|
||||
"dependencies": {
|
||||
"jquery": "^2.1.4"
|
||||
"less": "~2",
|
||||
|
||||
"jquery": "~2.0",
|
||||
"jquery-ui": "~1.10",
|
||||
"term.js": "~0.0.4",
|
||||
"backbone": "~1.2",
|
||||
"codemirror": "~5.5",
|
||||
"marked": "~0.3",
|
||||
"moment": "~2.8.4",
|
||||
"text-encoding": "~0.1",
|
||||
"underscore": "~1.5"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user