Fix issues of no file extension for pad export

This commit is contained in:
ClemDee
2019-07-29 16:30:48 +02:00
parent 3de9021397
commit 3e918ec1cf
13 changed files with 30 additions and 25 deletions

View File

@@ -34,7 +34,7 @@ define([
var path = '/' + type + '/export.js';
require([path], function (Exporter) {
Exporter.main(json, function (data) {
result.ext = '.' + Exporter.type;
result.ext = Exporter.ext || '';
result.data = data;
cb(result);
});