index.js 824 B

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