[CSV Export] Add FileSaver dependency

...to handle export part of CSV export.
This commit is contained in:
Victor Woeltjen
2016-02-05 14:39:24 -08:00
parent c07dc0ea8b
commit cb0f191ab3
4 changed files with 7 additions and 6 deletions

View File

@@ -23,8 +23,9 @@
define([
"./ExportService",
"saveAs",
"legacyRegistry"
], function (ExportService, legacyRegistry) {
], function (ExportService, saveAs, legacyRegistry) {
'use strict';
legacyRegistry.register("platform/exporters", {
@@ -33,10 +34,7 @@ define([
{
key: "exportService",
implementation: function () {
return new ExportService(function (blob, name) {
// TODO: Replace with FileSaver.js
console.log(blob, name);
});
return new ExportService(saveAs);
}
}
]