diff --git a/lib/OpenLayers/Rule/Comparison.js b/lib/OpenLayers/Rule/Comparison.js index f169e18c28..3f5561fafa 100644 --- a/lib/OpenLayers/Rule/Comparison.js +++ b/lib/OpenLayers/Rule/Comparison.js @@ -64,8 +64,8 @@ OpenLayers.Rule.Comparison = OpenLayers.Class(OpenLayers.Rule, { upperBoundary: null, /** - * Constructor: OpenLayers.Rule.Logical - * Creates a logical rule (And, Or, Not). + * Constructor: OpenLayers.Rule.Comparison + * Creates a comparison rule. * * Parameters: * params - {Object} Hash of parameters for this rule: @@ -75,11 +75,10 @@ OpenLayers.Rule.Comparison = OpenLayers.Class(OpenLayers.Rule, { * rule * * Returns: - * {} + * {} */ initialize: function(options) { - OpenLayers.Rule.prototype.initialize.apply( - this, [options]); + OpenLayers.Rule.prototype.initialize.apply(this, [options]); }, /** diff --git a/lib/OpenLayers/Rule/FeatureId.js b/lib/OpenLayers/Rule/FeatureId.js index 23e3915e19..ccc3f1a826 100644 --- a/lib/OpenLayers/Rule/FeatureId.js +++ b/lib/OpenLayers/Rule/FeatureId.js @@ -32,15 +32,11 @@ OpenLayers.Rule.FeatureId = OpenLayers.Class(OpenLayers.Rule, { * rule * * Returns: - * {} - * - * Inherits from: - * - + * {} */ initialize: function(options) { this.fids = []; - OpenLayers.Rule.prototype.initialize.apply( - this, [options]); + OpenLayers.Rule.prototype.initialize.apply(this, [options]); }, /** diff --git a/lib/OpenLayers/Rule/Logical.js b/lib/OpenLayers/Rule/Logical.js index eebdaf1af9..d3c01ad768 100644 --- a/lib/OpenLayers/Rule/Logical.js +++ b/lib/OpenLayers/Rule/Logical.js @@ -39,12 +39,11 @@ OpenLayers.Rule.Logical = OpenLayers.Class(OpenLayers.Rule, { * rule * * Returns: - * {} + * {} */ initialize: function(options) { this.children = []; - OpenLayers.Rule.prototype.initialize.apply( - this, [options]); + OpenLayers.Rule.prototype.initialize.apply(this, [options]); }, /**