mirror of
https://github.com/nextcloud/passman.git
synced 2026-01-07 16:14:24 +08:00
Indicate that C_Promise is a global var
This commit is contained in:
parent
517db468a1
commit
b4870bc2f3
2 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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'];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue