chore(example): update to latest bpmn-js

This commit is contained in:
Nico Rehwaldt 2014-05-27 18:47:45 +02:00
parent 645d0e8ea4
commit 4bcb8ff468
3 changed files with 6 additions and 6 deletions

View File

@ -52,7 +52,7 @@
</script>
<script>
var BpmnJS = require('bpmn/Modeler');
var BpmnJS = require('bpmn-js/Modeler');
</script>
<script src="app.js"></script>

View File

@ -52,7 +52,7 @@
</script>
<script>
var BpmnJS = require('bpmn/Viewer');
var BpmnJS = require('bpmn-js/Viewer');
</script>
<script src="app.js"></script>

View File

@ -43,7 +43,7 @@
<script>
///// auto open ?url=diagram-url ///////////////////////
(function() {
var str = window.location.search;
var min = !/(?:\&|\?)debug=/.test(str);
@ -54,7 +54,7 @@
<script>
var BpmnViewer = require('bpmn/Viewer');
var BpmnViewer = require('bpmn-js/Viewer');
var $ = require('jquery');
var viewer = new BpmnViewer({ container: $('#js-canvas'), width: '100%', height: 600 });
@ -71,7 +71,7 @@
$.ajax(url, { dataType : 'text' }).done(function(xml) {
viewer.importXML(xml, function(err) {
if (err) {
log('error: ' + err.message);
console.error(err);
@ -88,7 +88,7 @@
});
///// auto open ?url=diagram-url ///////////////////////
(function() {
var str = window.location.search;
var match = /(?:\&|\?)url=([^&]+)/.exec(str);