1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-31 13:25:46 +01:00

Replace expression closures (methods).

Expression closures are to be axed. See https://bugzil.la/1083458.
This commit is contained in:
Doug Kearns
2015-07-23 01:55:32 +10:00
parent c035aa936b
commit 77d59cdfd1
45 changed files with 1595 additions and 1045 deletions

View File

@@ -329,7 +329,9 @@ var StatusLine = Module("statusline", {
* Any other number - The progress is cleared.
*/
progress: Modes.boundProperty({
get: function progress() this._progress,
get: function progress() {
return this._progress;
},
set: function progress(progress) {
this._progress = progress || "";