index.js 528 B

1234567891011121314151617
  1. import DrawModule from '../draw';
  2. import Canvas from './Canvas';
  3. import ElementRegistry from './ElementRegistry';
  4. import ElementFactory from './ElementFactory';
  5. import EventBus from './EventBus';
  6. import GraphicsFactory from './GraphicsFactory';
  7. export default {
  8. __depends__: [ DrawModule ],
  9. __init__: [ 'canvas' ],
  10. canvas: [ 'type', Canvas ],
  11. elementRegistry: [ 'type', ElementRegistry ],
  12. elementFactory: [ 'type', ElementFactory ],
  13. eventBus: [ 'type', EventBus ],
  14. graphicsFactory: [ 'type', GraphicsFactory ]
  15. };