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'));
|
||||
}
|
||||
|
||||
this.moddle.toXML(definitions, options, function(err, xml) {
|
||||
done(err, xml);
|
||||
});
|
||||
this.moddle.toXML(definitions, options, done);
|
||||
};
|
||||
|
||||
Viewer.prototype.createModdle = function() {
|
||||
|
|
Loading…
Reference in New Issue