Fix issues of no file extension for pad export
This commit is contained in:
1 parent
3de9021397
commit
3e918ec1cf
13 files changed
+30
-25
No files matched your search
@@ -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);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user