mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 04:47:57 +01:00
Do away with services.(get|create), and move the prefs module to its own file.
This commit is contained in:
@@ -12,10 +12,10 @@ const ConfigBase = Class(ModuleBase, {
|
||||
* initialization code. Must call superclass's init function.
|
||||
*/
|
||||
init: function () {
|
||||
this.name = services.get("dactyl:").name;
|
||||
this.idName = services.get("dactyl:").idName;
|
||||
this.appName = services.get("dactyl:").appName;
|
||||
this.host = services.get("dactyl:").host;
|
||||
this.name = services["dactyl:"].name;
|
||||
this.idName = services["dactyl:"].idName;
|
||||
this.appName = services["dactyl:"].appName;
|
||||
this.host = services["dactyl:"].host;
|
||||
|
||||
highlight.styleableChrome = this.styleableChrome;
|
||||
highlight.loadCSS(this.CSS);
|
||||
|
||||
Reference in New Issue
Block a user