fix(Modeler): update move component name

This commit is contained in:
Nico Rehwaldt 2014-04-16 13:38:59 +02:00
parent b1a5ffb0b1
commit db982770c3
2 changed files with 4 additions and 4 deletions

View File

@ -4,9 +4,9 @@ var bpmnModule = require('./di').defaultModule,
Viewer = require('./Viewer');
require('./draw/BpmnRenderer');
require('./feature/zoomscroll/Service');
require('./feature/zoomscroll');
require('diagram-js/lib/features/dnd/Visuals');
require('diagram-js/lib/features/move');
require('diagram-js/lib/features/selection/Visuals');
@ -28,7 +28,7 @@ Modeler.prototype.createDiagram = function() {
return new Diagram({
canvas: { container: this.container },
modules: [ bpmnModule ],
components: [ 'selectionVisuals', 'dragVisuals', 'zoomScroll' ]
components: [ 'selectionVisuals', 'move', 'moveCanvas', 'zoomScroll' ]
});
};

View File

@ -60,7 +60,7 @@ function Viewer(options) {
var logoData = fs.readFileSync('resources/bpmnjs.png', 'base64');
var a = $('<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" draggable="false" />').css({
var a = $('<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" />').css({
position: 'absolute',
bottom: 15,
right: 15,