1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-06 21:25:46 +01:00

Sizing hacks for REPL modes.

This commit is contained in:
Kris Maglione
2011-10-04 00:43:02 -04:00
parent 64df9d9740
commit f1e4e9958c
6 changed files with 29 additions and 39 deletions

View File

@@ -348,7 +348,7 @@ var Highlights = Module("Highlight", {
"text-align: center"],
([h.class,
<span style={"text-align: center; line-height: 1em;" + h.value + style}>XXX</span>,
template.map(h.extends, function (s) template.highlight(s)),
template.map(h.extends, function (s) template.highlight(s), <>,</>),
template.highlightRegexp(h.value, /\b[-\w]+(?=:)|\/\*.*?\*\//g,
function (match) <span highlight={match[0] == "/" ? "Comment" : "Key"}>{match}</span>)
]