index.js 294 B

1234567891011121314151617181920212223
  1. /**
  2. * test插件
  3. * @class
  4. */
  5. class TestAddon {
  6. constructor(app) {
  7. this.app = app;
  8. }
  9. /**
  10. * 销毁窗口Contents id
  11. *
  12. * @function
  13. * @since 1.0.0
  14. */
  15. hello () {
  16. return 'hello';
  17. }
  18. }
  19. TestAddon.toString = () => '[class TestAddon]';
  20. module.exports = TestAddon;