Bug 1393928 - Expose intl/l10n .jsm APIs explicitly. r=mossop

MozReview-Commit-ID: Z57nlQJnQT

--HG--
extra : rebase_source : 5b6e5e804a14eef7847dfa1aada4588d401a43f6
This commit is contained in:
Zibi Braniecki 2017-08-25 12:59:18 -07:00
Родитель 5501c1f685
Коммит c5a354a1d6
4 изменённых файлов: 6 добавлений и 3 удалений

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

@ -343,4 +343,4 @@ this.L10nRegistry = L10nRegistry;
this.FileSource = FileSource;
this.IndexedFileSource = IndexedFileSource;
this.EXPORTED_SYMBOLS = [];
this.EXPORTED_SYMBOLS = ['L10nRegistry', 'FileSource', 'IndexedFileSource'];

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

@ -403,4 +403,4 @@ function keysFromContext(method, ctx, keys, translations) {
}
this.Localization = Localization;
this.EXPORTED_SYMBOLS = [];
this.EXPORTED_SYMBOLS = ['Localization'];

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

@ -1861,4 +1861,4 @@ class MessageContext {
}
this.MessageContext = MessageContext;
this.EXPORTED_SYMBOLS = [];
this.EXPORTED_SYMBOLS = ['MessageContext'];

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

@ -117,9 +117,11 @@
"kinto-http-client.js": ["KintoHttpClient"],
"kinto-offline-client.js": ["Kinto"],
"kinto-storage-adapter.js": ["FirefoxAdapter"],
"L10nRegistry.jsm": ["L10nRegistry", "FileSource", "IndexedFileSource"],
"loader-plugin-raw.jsm": ["requireRawId"],
"loader.js": ["WorkerDebuggerLoader", "worker"],
"Loader.jsm": ["DevToolsLoader", "devtools", "BuiltinProvider", "require", "loader"],
"Localization.jsm": ["Localization"],
"logger.jsm": ["Logger"],
"logging.js": ["getTestLogger", "initTestLogging"],
"LoginManagerContent.jsm": ["LoginManagerContent", "LoginFormFactory", "UserAutoCompleteResult"],
@ -131,6 +133,7 @@
"MatchPattern.jsm": ["MatchPattern", "MatchGlobs", "MatchURLFilters"],
"mcc_iso3166_table.jsm": ["MCC_ISO3166_TABLE"],
"message.js": ["Command", "Message", "MessageOrigin", "Response"],
"MessageContext.jsm": ["MessageContext"],
"Messaging.jsm": ["sendMessageToJava", "Messaging", "EventDispatcher"],
"microformat-shiv.js": ["Microformats"],
"MigrationUtils.jsm": ["MigrationUtils", "MigratorPrototype"],