index.js 534 B

1234567891011121314151617181920
  1. // Copyright (c) Jupyter Development Team.
  2. // Distributed under the terms of the Modified BSD License.
  3. 'use strict';
  4. var phosphide = require('phosphide');
  5. var di = require('phosphor-di');
  6. function main() {
  7. phosphide.loadPlugins(new di.Container(), [
  8. require('phosphide/lib/appshell/plugin'),
  9. require('jupyter-js-editor/lib/plugin'),
  10. require('jupyter-js-terminal/lib/plugin'),
  11. require('jupyter-js-filebrowser/lib/plugin')
  12. ]).then(function() {
  13. console.log('loading finished');
  14. });
  15. }
  16. window.onload = main;