diff --git a/common/content/commands.js b/common/content/commands.js index 026b4895..420b78f8 100644 --- a/common/content/commands.js +++ b/common/content/commands.js @@ -53,9 +53,6 @@ the terms of any one of the MPL, the GPL or the LGPL. */ function Command(specs, description, action, extraInfo) //{{{ { - if (!specs || !action) - return null; - if (!extraInfo) extraInfo = {}; diff --git a/common/content/mappings.js b/common/content/mappings.js index 3acfad30..d110a4c2 100644 --- a/common/content/mappings.js +++ b/common/content/mappings.js @@ -49,9 +49,6 @@ the terms of any one of the MPL, the GPL or the LGPL. */ function Map(modes, keys, description, action, extraInfo) //{{{ { - if (!modes || (!keys || !keys.length) || !action) - return null; - if (!extraInfo) extraInfo = {}; diff --git a/common/content/options.js b/common/content/options.js index 4973a957..bdfbe09c 100644 --- a/common/content/options.js +++ b/common/content/options.js @@ -32,9 +32,6 @@ the terms of any one of the MPL, the GPL or the LGPL. // options.add() instead function Option(names, description, type, defaultValue, extraInfo) //{{{ { - if (!names || !type) - return null; - if (!extraInfo) extraInfo = {};