mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
lint fixes
This commit is contained in:
@@ -9,7 +9,7 @@ function i18nService(utilsService) {
|
|||||||
rawFile.open('GET', '../_locales/en/messages.json', false);
|
rawFile.open('GET', '../_locales/en/messages.json', false);
|
||||||
rawFile.onreadystatechange = function () {
|
rawFile.onreadystatechange = function () {
|
||||||
if (rawFile.readyState === 4) {
|
if (rawFile.readyState === 4) {
|
||||||
if (rawFile.status === 200 || rawFile.status == 0) {
|
if (rawFile.status === 200 || rawFile.status === 0) {
|
||||||
var locales = JSON.parse(rawFile.responseText);
|
var locales = JSON.parse(rawFile.responseText);
|
||||||
for (var property in locales) {
|
for (var property in locales) {
|
||||||
if (locales.hasOwnProperty(property)) {
|
if (locales.hasOwnProperty(property)) {
|
||||||
@@ -18,7 +18,7 @@ function i18nService(utilsService) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
rawFile.send(null);
|
rawFile.send(null);
|
||||||
|
|
||||||
return self.messages;
|
return self.messages;
|
||||||
|
|||||||
Reference in New Issue
Block a user