1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 02:38:00 +01:00

Add :if/:elseif/:else/:endif contiditionals. Also add comment help tag.

--HG--
extra : rebase_source : 6b6e15157d2fae436aa812df2db94a36a5e7ce79
This commit is contained in:
Kris Maglione
2010-10-16 22:09:56 -04:00
parent abf3b691d0
commit 11a98b31f7
6 changed files with 170 additions and 2 deletions

View File

@@ -1165,7 +1165,7 @@ const CommandLine = Module("commandline", {
dactyl.registerObserver("echoLine", observe, true);
dactyl.registerObserver("echoMultiline", observe, true);
function observe(str, highlight, dom) {
buffer.push(dom ? util.domToString(dom) : str)
buffer.push(dom && !isString(str) ? util.domToString(dom) : str)
}
dactyl.trapErrors.apply(dactyl, [fn, self].concat(Array.slice(arguments, 2)));
return buffer.join("\n");