mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-26 15:40:46 +00:00
This simplifies the ways we work with replacements. Instead of monkey-patching the original replace functionality we * create the business object / target object * pass it to replace A simple way that works well with our existing infrastructure. Other changes: * fixes redo / undo issues. * splits context-pad + replace Closes #180
13 lines
440 B
JavaScript
13 lines
440 B
JavaScript
module.exports = {
|
|
__depends__: [
|
|
require('diagram-js-direct-editing'),
|
|
require('diagram-js/lib/features/context-pad'),
|
|
require('diagram-js/lib/features/selection'),
|
|
require('diagram-js/lib/features/connect'),
|
|
require('diagram-js/lib/features/create'),
|
|
require('../modeling'),
|
|
require('../replace')
|
|
],
|
|
__init__: [ 'contextPadProvider' ],
|
|
contextPadProvider: [ 'type', require('./ContextPadProvider') ]
|
|
}; |