chore(Viewer): remove unnecessary code

This commit is contained in:
Nico Rehwaldt 2014-09-04 13:27:36 +02:00
parent 680c111cc2
commit 85150135a6

View File

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