diff --git a/js/app/controllers/export.js b/js/app/controllers/export.js index c50600b1..e7385c14 100644 --- a/js/app/controllers/export.js +++ b/js/app/controllers/export.js @@ -18,6 +18,7 @@ return $window.PassmanExporter; }, function (exporters) { for (var key in exporters) { + var exporter = exporters[key]; if (exporter.hasOwnProperty('info')) { $scope.available_exporters.push(exporter.info); diff --git a/js/exporters/exporter-csv.js b/js/exporters/exporter-csv.js index 92ca0f0e..12a87620 100644 --- a/js/exporters/exporter-csv.js +++ b/js/exporters/exporter-csv.js @@ -12,6 +12,7 @@ PassmanExporter.csv = { }; PassmanExporter.csv.export = function (credentials) { + /** global: C_Promise */ return new C_Promise(function () { var _this = this; var headers = ['label','username','password','email','description','tags'];