You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.5 KiB
38 lines
1.5 KiB
// Copyright (c) Jupyter Development Team.
|
|
// 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({
|
|
extensions: [
|
|
require('phosphide/lib/extensions/commandpalette').commandPaletteExtension,
|
|
require('jupyter-js-plugins/lib/terminal/plugin').terminalExtension,
|
|
require('jupyter-js-plugins/lib/filehandler/plugin').fileHandlerExtension,
|
|
require('jupyter-js-plugins/lib/filebrowser/plugin').fileBrowserExtension,
|
|
require('jupyter-js-plugins/lib/imagehandler/plugin').imageHandlerExtension,
|
|
require('jupyter-js-plugins/lib/help/plugin').helpHandlerExtension,
|
|
require('jupyter-js-plugins/lib/notebook/plugin').notebookHandlerExtension,
|
|
require('jupyter-js-plugins/lib/shortcuts/plugin').shortcutsExtension,
|
|
require('jupyter-js-plugins/lib/about/plugin').aboutExtension,
|
|
require('jupyter-js-plugins/lib/landing/plugin').landingExtension,
|
|
require('jupyter-js-plugins/lib/main/plugin').mainExtension,
|
|
],
|
|
providers: [
|
|
require('jupyter-js-plugins/lib/filehandler/plugin').fileHandlerProvider,
|
|
require('jupyter-js-plugins/lib/services/plugin').servicesProvider,
|
|
require('jupyter-js-plugins/lib/rendermime/plugin').renderMimeProvider
|
|
]
|
|
});
|
|
|
|
window.onload = function() {
|
|
app.run();
|
|
}
|