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

@@ -33,7 +33,7 @@ ol.ObjectEventType = {
* @constructor
*/
ol.ObjectEvent = function(type, key, oldValue) {
goog.base(this, type);
ol.events.Event.call(this, type);
/**
* The name of the property whose value is changing.
@@ -51,7 +51,7 @@ ol.ObjectEvent = function(type, key, oldValue) {
this.oldValue = oldValue;
};
goog.inherits(ol.ObjectEvent, ol.events.Event);
ol.inherits(ol.ObjectEvent, ol.events.Event);
/**
@@ -100,7 +100,7 @@ goog.inherits(ol.ObjectEvent, ol.events.Event);
* @api
*/
ol.Object = function(opt_values) {
goog.base(this);
ol.Observable.call(this);
// Call goog.getUid to ensure that the order of objects' ids is the same as
// the order in which they were created. This also helps to ensure that
@@ -118,7 +118,7 @@ ol.Object = function(opt_values) {
this.setProperties(opt_values);
}
};
goog.inherits(ol.Object, ol.Observable);
ol.inherits(ol.Object, ol.Observable);
/**