mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-29 02:04:55 +00:00
d3449ca87c
* use ES6 import / export * UTILS: export individual utilities * TESTS: localize TestHelper includes BREAKING CHANGE: * all utilities export independent functions * library sources got ported to ES6. You must now use a ES module bundler such as Browserify + babelify or Webpack to consume this library (or parts of it).
18 lines
348 B
JavaScript
18 lines
348 B
JavaScript
'use strict';
|
|
|
|
import inherits from 'inherits';
|
|
|
|
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
|
|
}; |