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

whitespace fixes

This commit is contained in:
Doug Kearns
2008-10-19 14:09:55 +00:00
parent 9fc85871c8
commit 337f956323

View File

@@ -39,11 +39,11 @@ const template = {
// some objects like window.JSON or getBrowsers()._browsers need the try/catch // some objects like window.JSON or getBrowsers()._browsers need the try/catch
try try
{ {
switch (arg == null ? "undefined" : typeof arg) switch (arg == null ? "undefined" : typeof arg)
{ {
case "number": case "number":
return <span class="hl-Number">{arg}</span>; return <span class="hl-Number">{arg}</span>;
case "string": case "string":
if (processStrings) if (processStrings)
arg = <>{util.escapeString(arg)}</>; arg = <>{util.escapeString(arg)}</>;
return <span class="hl-String">{arg}</span>; return <span class="hl-String">{arg}</span>;