index.js 877 B

12345678910111213141516171819202122232425262728
  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('phosphide/lib/commandregistry/plugin'),
  10. require('phosphide/lib/commandpalette/plugin'),
  11. require('phosphide/lib/shortcutmanager/plugin'),
  12. require('../lib/terminal/plugin'),
  13. require('../lib/fileopener/plugin'),
  14. require('../lib/filehandler/plugin'),
  15. require('../lib/filebrowser/plugin'),
  16. require('../lib/imagehandler/plugin'),
  17. require('../lib/notebook/plugin'),
  18. require('../lib/services/plugin'),
  19. require('../lib/application/plugin')
  20. ]).then(function() {
  21. console.log('loading finished');
  22. });
  23. }
  24. window.onload = main;