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

remove unnecessary parentheses from typeof args

This commit is contained in:
Doug Kearns
2007-11-16 13:53:38 +00:00
parent 28042647f8
commit ca7b146774
3 changed files with 3 additions and 3 deletions

View File

@@ -554,7 +554,7 @@ vimperator.Completion = function () // {{{
// items must be an array of strings
match: function (items, filter, case_sensitive)
{
if (typeof(filter) != "string" || !items)
if (typeof filter != "string" || !items)
return false;
var items_str = items.join(" ");

View File

@@ -43,7 +43,7 @@ vimperator.util = {
// any line breaks are displayed as \n
colorize: function (arg, process_strings)
{
var type = typeof(arg);
var type = typeof arg;
// some objects like window.JSON or getBrowsers()._browsers need the try/catch
try

View File

@@ -418,7 +418,7 @@ const vimperator = (function () //{{{
if (!args)
args = [];
if (typeof(blocking) != "boolean")
if (typeof blocking != "boolean")
blocking = false;
try