1
0
mirror of https://github.com/bitwarden/web synced 2025-12-22 03:03:26 +00:00

lint fixes

This commit is contained in:
Kyle Spearrin
2017-10-25 16:01:04 -04:00
parent cae8beaa8f
commit a57110b935
12 changed files with 24 additions and 10 deletions

View File

@@ -112,6 +112,7 @@
var attachmentSharePromises = [];
if ($scope.cipher.attachments) {
for (var i = 0; i < $scope.cipher.attachments.length; i++) {
/* jshint ignore:start */
(function (attachment) {
var promise = cipherService.downloadAndDecryptAttachment(null, attachment, false)
.then(function (decData) {
@@ -136,6 +137,7 @@
});
attachmentSharePromises.push(promise);
})($scope.cipher.attachments[i]);
/* jshint ignore:end */
}
}