1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 13:54:12 +01:00

Add a half slew of generic command execution/completion/code coverage tests. Add unhandled exception checking to tests. Fix some detected merge artifacts.

This commit is contained in:
Kris Maglione
2011-01-28 21:59:48 -05:00
parent 5cba6cbc77
commit 199604041b
14 changed files with 422 additions and 64 deletions

View File

@@ -204,7 +204,9 @@ var CommandWidgets = Class("CommandWidgets", {
[this.commandbar, this.statusbar].forEach(function (nodeSet) {
let elem = nodeSet[obj.name];
if (val != null) {
if (val == null)
elem.value = "";
else {
highlight.highlightNode(elem,
(val[0] != null ? val[0] : obj.defaultGroup)
.split(/\s/).filter(util.identity)