Skip to content

Commit 7331e01

Browse files
authored
feat: Shrink the size of language-mapping-list.js (#8526)
This PR helps reducing bundle size. All changes were part of #8520
1 parent f15d627 commit 7331e01

File tree

3 files changed

+220
-863
lines changed

3 files changed

+220
-863
lines changed

test/ui/ui_integration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ describe('UI', () => {
250250
* @return {string}
251251
*/
252252
function getNativeName(language) {
253-
return mozilla.LanguageMapping[language].nativeName;
253+
return mozilla.LanguageMapping[language];
254254
}
255255

256256
/**

0 commit comments

Comments
 (0)