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
+4 -4
View File
@@ -44,7 +44,7 @@ ol.CollectionEventType = {
*/
ol.CollectionEvent = function(type, opt_element, opt_target) {
goog.base(this, type, opt_target);
ol.events.Event.call(this, type, opt_target);
/**
* The element that is added to or removed from the collection.
@@ -54,7 +54,7 @@ ol.CollectionEvent = function(type, opt_element, opt_target) {
this.element = opt_element;
};
goog.inherits(ol.CollectionEvent, ol.events.Event);
ol.inherits(ol.CollectionEvent, ol.events.Event);
/**
@@ -82,7 +82,7 @@ ol.CollectionProperty = {
*/
ol.Collection = function(opt_array) {
goog.base(this);
ol.Object.call(this);
/**
* @private
@@ -93,7 +93,7 @@ ol.Collection = function(opt_array) {
this.updateLength_();
};
goog.inherits(ol.Collection, ol.Object);
ol.inherits(ol.Collection, ol.Object);
/**