Remove remaining goog.isDef() calls

This commit is contained in:
Tim Schaub
2015-09-27 11:13:58 -06:00
parent c48ce003ba
commit 29a1ea9ae3
7 changed files with 31 additions and 18 deletions

View File

@@ -553,7 +553,7 @@ ol.View.prototype.centerOn = function(coordinate, size, position) {
*/
ol.View.prototype.isDef = function() {
return goog.isDefAndNotNull(this.getCenter()) &&
goog.isDef(this.getResolution());
this.getResolution() !== undefined;
};