index.js 459 B

1234567891011121314151617
  1. // Copyright (c) Jupyter Development Team.
  2. // Distributed under the terms of the Modified BSD License.
  3. import { ILauncher } from '@jupyterlab/launcher';
  4. export default [
  5. {
  6. id: 'mockextension',
  7. requires: [ILauncher],
  8. autoStart: true,
  9. activate: function (application, launcher) {
  10. // eslint-disable-next-line no-console
  11. console.log('mock extension activated', launcher);
  12. window.commands = application.commands;
  13. }
  14. }
  15. ];