fix(draw): consistently use custom snapsvg
This commit is contained in:
parent
3996408404
commit
9272547af2
|
@ -1,10 +1,12 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
var Snap = require('diagram-js/vendor/snapsvg');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Map containing SVG paths needed by BpmnRenderer.
|
* Map containing SVG paths needed by BpmnRenderer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function PathMap(Snap) {
|
function PathMap() {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains a map of path elements
|
* Contains a map of path elements
|
||||||
|
@ -448,7 +450,4 @@ function PathMap(Snap) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
PathMap.$inject = [ 'snap' ];
|
|
||||||
|
|
||||||
module.exports = PathMap;
|
module.exports = PathMap;
|
||||||
|
|
Loading…
Reference in New Issue