mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-03 20:53:25 +00:00
chore(Viewer): remove unnecessary code
This commit is contained in:
parent
680c111cc2
commit
85150135a6
@ -122,9 +122,7 @@ Viewer.prototype.saveXML = function(options, done) {
|
|||||||
return done(new Error('no definitions loaded'));
|
return done(new Error('no definitions loaded'));
|
||||||
}
|
}
|
||||||
|
|
||||||
this.moddle.toXML(definitions, options, function(err, xml) {
|
this.moddle.toXML(definitions, options, done);
|
||||||
done(err, xml);
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Viewer.prototype.createModdle = function() {
|
Viewer.prototype.createModdle = function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user