mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
Bug 1219837 - Part 2: Remove use of expression closure from browser/. r=ttaubert
--HG-- extra : commitid : I3YNU2vV2le extra : rebase_source : e3b02ee43f956ea80e0f298c4507052811176601 extra : amend_source : 31230481a90a30ffc7f991ec2ec2454860e85ecb
This commit is contained in:
parent
f53ed453a6
commit
da0d85ff8c
@ -159,12 +159,14 @@ let RemoteDirectoryLinksProvider = {
|
||||
*/
|
||||
_newTabHasInadjacentSite: false,
|
||||
|
||||
get _observedPrefs() Object.freeze({
|
||||
enhanced: PREF_NEWTAB_ENHANCED,
|
||||
linksURL: PREF_DIRECTORY_SOURCE,
|
||||
matchOSLocale: PREF_MATCH_OS_LOCALE,
|
||||
prefSelectedLocale: PREF_SELECTED_LOCALE,
|
||||
}),
|
||||
get _observedPrefs() {
|
||||
return Object.freeze({
|
||||
enhanced: PREF_NEWTAB_ENHANCED,
|
||||
linksURL: PREF_DIRECTORY_SOURCE,
|
||||
matchOSLocale: PREF_MATCH_OS_LOCALE,
|
||||
prefSelectedLocale: PREF_SELECTED_LOCALE,
|
||||
});
|
||||
},
|
||||
|
||||
get _linksURL() {
|
||||
if (!this.__linksURL) {
|
||||
|
Loading…
Reference in New Issue
Block a user