mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-02 18:25:45 +01:00
Replace expression closures (function expressions - named and dynamic this).
Expression closures are to be axed. See https://bugzil.la/1083458. Leaving deprecated() and literal() calls and method shorthand syntax conversions until after the ESR overlap.
This commit is contained in:
@@ -177,13 +177,15 @@ const Config = Module("config", ConfigBase, {
|
||||
Leave: "Triggered before exiting Songbird"
|
||||
},
|
||||
|
||||
completers: Class.memoize(function () update({
|
||||
displaypane: "displayPane",
|
||||
playlist: "playlist",
|
||||
mediaview: "mediaView",
|
||||
mediasort: "mediaListSort",
|
||||
song: "song"
|
||||
}, this.__proto__.completers)),
|
||||
completers: Class.memoize(function () {
|
||||
return update({
|
||||
displaypane: "displayPane",
|
||||
playlist: "playlist",
|
||||
mediaview: "mediaView",
|
||||
mediasort: "mediaListSort",
|
||||
song: "song"
|
||||
}, this.__proto__.completers);
|
||||
}),
|
||||
|
||||
removeTab: function (tab) {
|
||||
if (config.tabbrowser.mTabs.length > 1)
|
||||
|
||||
Reference in New Issue
Block a user