From 9272547af21e7fe33d206933de636038ff8bacd0 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Fri, 6 Feb 2015 09:47:12 +0100 Subject: [PATCH] fix(draw): consistently use custom snapsvg --- lib/draw/PathMap.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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;