EPI setters no longer return this

This commit is contained in:
Éric Lemoine
2012-06-20 11:05:23 +02:00
parent 41df32df9a
commit 487e61884e
7 changed files with 16 additions and 68 deletions

View File

@@ -43,11 +43,9 @@ ol.Projection.prototype.getCode = function() {
/**
* @param {string} code Code.
* @return {!ol.Projection} This.
*/
ol.Projection.prototype.setCode = function(code) {
this.code_ = code;
return this;
};
/**
@@ -59,11 +57,9 @@ ol.Projection.prototype.getUnits = function() {
/**
* @param {string} units Units abbreviation.
* @return {!ol.Projection} This.
*/
ol.Projection.prototype.setUnits = function(units) {
this.units_ = units;
return this;
};
/**
@@ -77,11 +73,9 @@ ol.Projection.prototype.getExtent = function() {
/**
* @param {!ol.UnreferencedBounds} extent Validity extent.
* @return {ol.Projection} This.
*/
ol.Projection.prototype.setExtent = function(extent) {
this.extent_ = extent;
return this;
};
/**