Comparing version 0.0.2 to 0.0.3
@@ -67,3 +67,3 @@ var Diagram = require('diagram-js'), | ||
*/ | ||
var logoData = fs.readFileSync('resources/bpmnjs.png', 'base64'); | ||
var logoData = fs.readFileSync(__dirname + '/../resources/bpmnjs.png', 'base64'); | ||
@@ -70,0 +70,0 @@ var a = $('<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" />').css({ |
{ | ||
"name": "bpmn-js", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A bpmn 2.0 toolkit and web modeler", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -19,5 +19,6 @@ var fs = require('fs'); | ||
it('should render text annotations', function(done) { | ||
var xml = fs.readFileSync('test/fixtures/bpmn/render/text-annotation.bpmn', 'utf8'); | ||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/text-annotation.bpmn', 'utf8'); | ||
@@ -31,5 +32,6 @@ var renderer = new Viewer(container); | ||
it('should render data objects', function(done) { | ||
var xml = fs.readFileSync('test/fixtures/bpmn/render/data-objects.bpmn', 'utf8'); | ||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/data-objects.bpmn', 'utf8'); | ||
@@ -43,5 +45,6 @@ var renderer = new Viewer(container); | ||
it('should render events', function(done) { | ||
var xml = fs.readFileSync('test/fixtures/bpmn/render/events.bpmn', 'utf8'); | ||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/events.bpmn', 'utf8'); | ||
@@ -55,5 +58,6 @@ var renderer = new Viewer(container); | ||
it('should render events (interrupting)', function(done) { | ||
var xml = fs.readFileSync('test/fixtures/bpmn/render/events-interrupting.bpmn', 'utf8'); | ||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/events-interrupting.bpmn', 'utf8'); | ||
@@ -67,5 +71,6 @@ var renderer = new Viewer(container); | ||
it('should render gateways', function(done) { | ||
var xml = fs.readFileSync('test/fixtures/bpmn/render/gateways.bpmn', 'utf8'); | ||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/gateways.bpmn', 'utf8'); | ||
@@ -79,5 +84,6 @@ var renderer = new Viewer(container); | ||
it('should render groups', function(done) { | ||
var xml = fs.readFileSync('test/fixtures/bpmn/render/group.bpmn', 'utf8'); | ||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/group.bpmn', 'utf8'); | ||
@@ -91,5 +97,6 @@ var renderer = new Viewer(container); | ||
it('should render pools', function(done) { | ||
var xml = fs.readFileSync('test/fixtures/bpmn/render/pools.bpmn', 'utf8'); | ||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/pools.bpmn', 'utf8'); | ||
@@ -102,2 +109,3 @@ var renderer = new Viewer(container); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
653163