mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 21:34:12 +01:00
Fix '' for a subset of cases.
This commit is contained in:
@@ -55,6 +55,8 @@ var ConfigBase = Class("ConfigBase", {
|
||||
return addon;
|
||||
}),
|
||||
|
||||
language: Class.memoize(function () services.chromeRegistry.getSelectedLocale("dactyl")),
|
||||
|
||||
/** @property {string} The Dactyl version string. */
|
||||
version: Class.memoize(function () {
|
||||
if (/pre$/.test(this.addon.version)) {
|
||||
|
||||
@@ -29,6 +29,7 @@ var Services = Module("Services", {
|
||||
this.add("browserSearch", "@mozilla.org/browser/search-service;1", Ci.nsIBrowserSearchService);
|
||||
this.add("cache", "@mozilla.org/network/cache-service;1", Ci.nsICacheService);
|
||||
this.add("charset", "@mozilla.org/charset-converter-manager;1", Ci.nsICharsetConverterManager);
|
||||
this.add("chromeRegistry", "@mozilla.org/chrome/chrome-registry;1", Ci.nsIXULChromeRegistry);
|
||||
this.add("commandLineHandler", "@mozilla.org/commandlinehandler/general-startup;1?type=dactyl");
|
||||
this.add("console", "@mozilla.org/consoleservice;1", Ci.nsIConsoleService);
|
||||
this.add("dactyl:", "@mozilla.org/network/protocol;1?name=dactyl");
|
||||
|
||||
Reference in New Issue
Block a user