mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-21 21:28:07 +00:00
This increase the safety of our build; external consumers do no longer need to account for the `browser` field to bundle bpmn-js (or otherwise bundle a Node shim, unintentionally).
17 lines
342 B
JavaScript
17 lines
342 B
JavaScript
import inherits from 'inherits-browser';
|
|
|
|
import RuleProvider from 'diagram-js/lib/features/rules/RuleProvider';
|
|
|
|
|
|
export default function CustomRules(eventBus) {
|
|
RuleProvider.call(this, eventBus);
|
|
}
|
|
|
|
CustomRules.$inject = [ 'eventBus' ];
|
|
|
|
inherits(CustomRules, RuleProvider);
|
|
|
|
CustomRules.prototype.init = function() {
|
|
|
|
// placeholder
|
|
}; |