extension.js 443 B

1234567891011121314151617
  1. // Copyright (c) Jupyter Development Team.
  2. // Distributed under the terms of the Modified BSD License.
  3. const IMiddleToken = require('./tokens').IMiddleToken;
  4. module.exports = [
  5. {
  6. id: '@jupyterlab/example-federated-middle',
  7. autoStart: true,
  8. provides: IMiddleToken,
  9. activate: function (app) {
  10. console.log('JupyterLab extension middle is activated!');
  11. console.log(app.commands);
  12. return 'hello';
  13. }
  14. }
  15. ];