1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-16 07:45:49 +01:00

Add named groups (a la Python) to util.regexp.

This commit is contained in:
Kris Maglione
2011-01-12 12:25:46 -05:00
parent d6e22872d3
commit c3a90cf2b3
10 changed files with 68 additions and 51 deletions

View File

@@ -33,7 +33,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
this.branch.removeObserver("", this);
},
observe: {
observers: {
"nsPref:changed": function (subject, data) {
let observers = this._observers[data];
if (observers) {