Use ol.inherits instead of goog.inherits

This commit is contained in:
Frederic Junod
2016-04-07 16:26:11 +02:00
parent 072728b083
commit e289bfbb7d
166 changed files with 448 additions and 452 deletions

View File

@@ -76,7 +76,7 @@ ol.source.Vector = function(opt_options) {
var options = opt_options || {};
goog.base(this, {
ol.source.Source.call(this, {
attributions: options.attributions,
logo: options.logo,
projection: undefined,
@@ -183,7 +183,7 @@ ol.source.Vector = function(opt_options) {
}
};
goog.inherits(ol.source.Vector, ol.source.Source);
ol.inherits(ol.source.Vector, ol.source.Source);
/**
@@ -888,7 +888,7 @@ ol.source.Vector.prototype.removeFromIdIndex_ = function(feature) {
*/
ol.source.VectorEvent = function(type, opt_feature) {
goog.base(this, type);
ol.events.Event.call(this, type);
/**
* The feature being added or removed.
@@ -898,4 +898,4 @@ ol.source.VectorEvent = function(type, opt_feature) {
this.feature = opt_feature;
};
goog.inherits(ol.source.VectorEvent, ol.events.Event);
ol.inherits(ol.source.VectorEvent, ol.events.Event);