fix(Viewer): include logo relative to viewer
This allows us to correctly include bpmn-js from other npm projects.
This commit is contained in:
parent
4be0d99193
commit
98e7e5e807
|
@ -64,7 +64,7 @@ function Viewer(options) {
|
|||
*
|
||||
* <project-logo>
|
||||
*/
|
||||
var logoData = fs.readFileSync('resources/bpmnjs.png', 'base64');
|
||||
var logoData = fs.readFileSync(__dirname + '/../resources/bpmnjs.png', 'base64');
|
||||
|
||||
var a = $('<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" />').css({
|
||||
position: 'absolute',
|
||||
|
|
Loading…
Reference in New Issue