mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-13 07:55:45 +01:00
Replace expression closures (getters).
Expression closures are to be axed. See https://bugzil.la/1083458.
This commit is contained in:
@@ -215,11 +215,11 @@ var Help = Module("Help", {
|
||||
cache.flushEntry(entry, time);
|
||||
},
|
||||
|
||||
get data() this._data || cache.get("help.json"),
|
||||
get data() { return this._data || cache.get("help.json"); },
|
||||
|
||||
get files() this.data.files,
|
||||
get overlays() this.data.overlays,
|
||||
get tags() this.data.tags,
|
||||
get files() { return this.data.files; },
|
||||
get overlays() { return this.data.overlays; },
|
||||
get tags() { return this.data.tags; },
|
||||
|
||||
Local: function Local(dactyl, modules, window) ({
|
||||
init: function init() {
|
||||
|
||||
Reference in New Issue
Block a user