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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user