From f0c62294f996e3c2c5aaf1e2a8d881b22463ef9d Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sun, 7 Apr 2013 17:42:52 -0600 Subject: [PATCH] Doc fixes --- src/ol/filter/logicalfilter.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ol/filter/logicalfilter.js b/src/ol/filter/logicalfilter.js index 3ba8dd932c..c32b675b1f 100644 --- a/src/ol/filter/logicalfilter.js +++ b/src/ol/filter/logicalfilter.js @@ -85,10 +85,10 @@ ol.filter.LogicalOperator = { /** - * Create a filter that evaluates to true if any of the provided filters + * Create a filter that evaluates to true if all of the provided filters * evaluate to true. * @param {...ol.filter.Filter} var_filters Filters. - * @return {ol.filter.Logical} A logical filter. + * @return {ol.filter.Logical} A logical AND filter. */ ol.filter.and = function(var_filters) { var filters = Array.prototype.slice.call(arguments); @@ -99,7 +99,7 @@ ol.filter.and = function(var_filters) { /** * Create a new filter that is the logical compliment of another. * @param {ol.filter.Filter} filter The filter to negate. - * @return {ol.filter.Logical} A logical filter. + * @return {ol.filter.Logical} A logical NOT filter. */ ol.filter.not = function(filter) { return new ol.filter.Logical([filter], ol.filter.LogicalOperator.NOT); @@ -107,10 +107,10 @@ ol.filter.not = function(filter) { /** - * Create a filter that evaluates to true if all of the provided filters + * Create a filter that evaluates to true if any of the provided filters * evaluate to true. * @param {...ol.filter.Filter} var_filters Filters. - * @return {ol.filter.Logical} A logical filter. + * @return {ol.filter.Logical} A logical OR filter. */ ol.filter.or = function(var_filters) { var filters = Array.prototype.slice.call(arguments);