Indicate that C_Promise is a global var

This commit is contained in:
brantje 2016-10-08 13:41:08 +02:00
parent 517db468a1
commit b4870bc2f3
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F
2 changed files with 2 additions and 0 deletions

View file

@ -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);

View file

@ -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'];