1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

lint fixes

This commit is contained in:
Kyle Spearrin
2017-07-14 15:34:05 -04:00
parent cf850838b5
commit e4baa19232
24 changed files with 94 additions and 83 deletions

View File

@@ -1,6 +1,6 @@
function AutofillService() {
initAutofill();
};
}
function initAutofill() {
AutofillService.prototype.generateFillScript = function (pageDetails, fillUsername, fillPassword) {
@@ -29,9 +29,10 @@ function initAutofill() {
passwordFields = loadPasswordFields(pageDetails, true);
}
var i;
for (var formKey in pageDetails.forms) {
var passwordFieldsForForm = [];
for (var i = 0; i < passwordFields.length; i++) {
for (i = 0; i < passwordFields.length; i++) {
if (formKey === passwordFields[i].form) {
passwordFieldsForForm.push(passwordFields[i]);
}
@@ -156,4 +157,4 @@ function initAutofill() {
return usernameField;
}
};
}