chore(Viewer): remove unnecessary code

This commit is contained in:
Nico Rehwaldt 2014-09-04 13:27:36 +02:00
parent 680c111cc2
commit 85150135a6
1 changed files with 1 additions and 3 deletions

View File

@ -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() {