1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 11:27:58 +01:00

Moved the template class to its own file, along with some related functions from util.js

This commit is contained in:
Kris Maglione
2008-10-07 06:56:58 +00:00
parent d337ab8c53
commit abd879a3e5
7 changed files with 248 additions and 242 deletions

View File

@@ -958,7 +958,7 @@ liberator.Options = function () //{{{
}
else
{
option.value = <>={liberator.util.colorize(opt.value, false)}</>;
option.value = <>={liberator.template.highlight(opt.value)}</>;
}
yield option;
}
@@ -989,7 +989,7 @@ liberator.Options = function () //{{{
let option = {
isDefault: !userValue,
default: loadPreference(pref, null, true),
value: <>={liberator.util.colorize(value, false)}</>,
value: <>={liberator.template.highlight(value)}</>,
name: pref,
pre: "  ", /* Unicode nonbreaking space. */
};