Merge pull request #4176 from tschaub/remove-isdefandnotnull
Remove use of goog.isDefAndNotNull().
This commit is contained in:
@@ -61,7 +61,7 @@ ol.geom.flat.interpolate.lineString =
|
||||
pointY = flatCoordinates[offset + index * stride + 1];
|
||||
}
|
||||
}
|
||||
if (goog.isDefAndNotNull(opt_dest)) {
|
||||
if (opt_dest) {
|
||||
opt_dest[0] = pointX;
|
||||
opt_dest[1] = pointY;
|
||||
return opt_dest;
|
||||
|
||||
Reference in New Issue
Block a user