Merge pull request #5438 from fredj/filter_inherit_object

Don't make ol.format.ogc.filter.Filter inherit from ol.Object
This commit is contained in:
Frédéric Junod
2016-06-06 17:20:25 +02:00
+1 -5
View File
@@ -19,7 +19,6 @@ goog.provide('ol.format.ogc.filter.IsBetween');
goog.provide('ol.format.ogc.filter.IsLike'); goog.provide('ol.format.ogc.filter.IsLike');
goog.require('ol.Extent'); goog.require('ol.Extent');
goog.require('ol.Object');
/** /**
@@ -214,20 +213,17 @@ ol.format.ogc.filter.like = function(propertyName, pattern,
* *
* @constructor * @constructor
* @param {!string} tagName The XML tag name for this filter. * @param {!string} tagName The XML tag name for this filter.
* @extends {ol.Object} * @struct
* @api * @api
*/ */
ol.format.ogc.filter.Filter = function(tagName) { ol.format.ogc.filter.Filter = function(tagName) {
goog.base(this);
/** /**
* @private * @private
* @type {!string} * @type {!string}
*/ */
this.tagName_ = tagName; this.tagName_ = tagName;
}; };
goog.inherits(ol.format.ogc.filter.Filter, ol.Object);
/** /**
* The XML tag name for a filter. * The XML tag name for a filter.