index.ts 679 B

123456789101112131415161718192021222324
  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/editor/plugin'),
  13. require('../lib/filebrowser/plugin'),
  14. require('../lib/services/plugin'),
  15. require('./plugin')
  16. ]).then(function() {
  17. console.log('loading finished');
  18. });
  19. }
  20. window.onload = main;