1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 06:44:17 +01:00

Fix '' for a subset of cases.

This commit is contained in:
Kris Maglione
2011-01-13 12:22:46 -05:00
parent 0de4c844ef
commit 77e8bc5f65
5 changed files with 8 additions and 3 deletions

View File

@@ -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)) {