1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 21:07:59 +01:00

remove unnecessary parentheses from typeof operands

This commit is contained in:
Doug Kearns
2007-06-14 04:11:36 +00:00
parent b4c3d538fe
commit cbfda0f154
4 changed files with 26 additions and 26 deletions

View File

@@ -246,7 +246,7 @@ function Vimperator() //{{{1
mode = main;
extended_mode = this.modes.NONE;
}
if (typeof(extended) === "number")
if (typeof extended === "number")
extended_mode = extended;
if (!silent)
@@ -742,7 +742,7 @@ function Tabs() //{{{1
if (spec === undefined || spec === "")
return position;
if (typeof(spec) === "number")
if (typeof spec === "number")
position = spec;
else if (spec === "$")
return last;