diff --git a/lib/draw/PathMap.js b/lib/draw/PathMap.js index 47bff415..1be66e3c 100644 --- a/lib/draw/PathMap.js +++ b/lib/draw/PathMap.js @@ -1,10 +1,12 @@ 'use strict'; +var Snap = require('diagram-js/vendor/snapsvg'); + /** * Map containing SVG paths needed by BpmnRenderer. */ -function PathMap(Snap) { +function PathMap() { /** * Contains a map of path elements @@ -448,7 +450,4 @@ function PathMap(Snap) { }; } - -PathMap.$inject = [ 'snap' ]; - module.exports = PathMap;