mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-04 14:35:46 +01:00
whitespace fixes
This commit is contained in:
@@ -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>;
|
||||||
|
|||||||
Reference in New Issue
Block a user