mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-27 09:43:32 +01:00
Make .closure a Proxy and rename .bound
This commit is contained in:
@@ -291,7 +291,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
|
||||
* @param {string} branch The preference name. @optional
|
||||
*/
|
||||
resetBranch: function resetBranch(branch) {
|
||||
this.getNames(branch).forEach(this.closure.reset);
|
||||
this.getNames(branch).forEach(this.bound.reset);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user