Bug 1440235 - Fix linting errors in calStartupService.js. r=philipp

This commit is contained in:
MakeMyDay 2018-04-08 20:24:52 +02:00
Родитель 907e130396
Коммит cf81410812
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -73,9 +73,12 @@ calStartupService.prototype = {
// Localization service
let locales = {
startup: function(aCompleteListener) {
let locales = Services.locale.getPackagedLocales();
let fs = new FileSource("calendar", locales , "resource://calendar/chrome/calendar-{locale}/locale/{locale}/");
L10nRegistry.registerSource(fs);
let packaged = Services.locale.getPackagedLocales();
let fileSrc = new FileSource(
"calendar", packaged,
"resource://calendar/chrome/calendar-{locale}/locale/{locale}/"
);
L10nRegistry.registerSource(fileSrc);
aCompleteListener.onResult(null, Components.results.NS_OK);
},
shutdown: function(aCompleteListener) {