chore(project): migrate to tiny-svg@1.x

This commit is contained in:
Nico Rehwaldt 2018-03-28 10:43:31 +02:00
parent dc30638a7c
commit e4dbc422bf
7 changed files with 17 additions and 17 deletions

View File

@ -14,7 +14,7 @@ var domify = require('min-dom').domify,
domQuery = require('min-dom').query, domQuery = require('min-dom').query,
domRemove = require('min-dom').remove; domRemove = require('min-dom').remove;
var innerSVG = require('tiny-svg/lib/innerSVG'); var innerSVG = require('tiny-svg').innerSVG;
var Diagram = require('diagram-js'), var Diagram = require('diagram-js'),
BpmnModdle = require('bpmn-moddle'); BpmnModdle = require('bpmn-moddle');

View File

@ -30,10 +30,10 @@ var getCirclePath = BpmnRenderUtil.getCirclePath,
var domQuery = require('min-dom').query; var domQuery = require('min-dom').query;
var svgAppend = require('tiny-svg/lib/append'), var svgAppend = require('tiny-svg').append,
svgAttr = require('tiny-svg/lib/attr'), svgAttr = require('tiny-svg').attr,
svgCreate = require('tiny-svg/lib/create'), svgCreate = require('tiny-svg').create,
svgClasses = require('tiny-svg/lib/classes'); svgClasses = require('tiny-svg').classes;
var rotate = require('diagram-js/lib/util/SvgTransformUtil').rotate, var rotate = require('diagram-js/lib/util/SvgTransformUtil').rotate,
transform = require('diagram-js/lib/util/SvgTransformUtil').transform, transform = require('diagram-js/lib/util/SvgTransformUtil').transform,

View File

@ -1,7 +1,7 @@
var svgAppend = require('tiny-svg/lib/append'), var svgAppend = require('tiny-svg').append,
svgAttr = require('tiny-svg/lib/attr'), svgAttr = require('tiny-svg').attr,
svgCreate = require('tiny-svg/lib/create'), svgCreate = require('tiny-svg').create,
svgRemove = require('tiny-svg/lib/remove'); svgRemove = require('tiny-svg').remove;
var getBusinessObject = require('../../util/ModelUtil').getBusinessObject, var getBusinessObject = require('../../util/ModelUtil').getBusinessObject,
is = require('../../util/ModelUtil').is; is = require('../../util/ModelUtil').is;

View File

@ -9,7 +9,7 @@ var assign = require('min-dash').assign,
var domQuery = require('min-dom').query; var domQuery = require('min-dom').query;
var svgAttr = require('tiny-svg/lib/attr'); var svgAttr = require('tiny-svg').attr;
var LOW_PRIORITY = 250; var LOW_PRIORITY = 250;

View File

@ -6,9 +6,9 @@ var BaseRenderer = require('diagram-js/lib/draw/BaseRenderer');
var componentsToPath = require('diagram-js/lib/util/RenderUtil').componentsToPath; var componentsToPath = require('diagram-js/lib/util/RenderUtil').componentsToPath;
var svgAppend = require('tiny-svg/lib/append'), var svgAppend = require('tiny-svg').append,
svgAttr = require('tiny-svg/lib/attr'), svgAttr = require('tiny-svg').attr,
svgCreate = require('tiny-svg/lib/create'); svgCreate = require('tiny-svg').create;
function CustomRenderer(eventBus, styles) { function CustomRenderer(eventBus, styles) {

View File

@ -2,7 +2,7 @@
require('../../TestHelper'); require('../../TestHelper');
var svgCreate = require('tiny-svg/lib/create'); var svgCreate = require('tiny-svg').create;
var coreModule = require('lib/core'), var coreModule = require('lib/core'),
rendererModule = require('lib/draw'), rendererModule = require('lib/draw'),

View File

@ -13,9 +13,9 @@ var canvasEvent = require('../../../util/MockEvents').createCanvasEvent;
var assign = require('min-dash').assign; var assign = require('min-dash').assign;
var svgAttr = require('tiny-svg/lib/attr'), var svgAttr = require('tiny-svg').attr,
svgClone = require('tiny-svg/lib/clone'), svgClone = require('tiny-svg').clone,
innerSVG = require('tiny-svg/lib/innerSVG'); innerSVG = require('tiny-svg').innerSVG;
describe('features/replace-preview', function() { describe('features/replace-preview', function() {