Inline !goog.isDef() calls for properties

This commit is contained in:
Tim Schaub
2015-09-27 10:37:20 -06:00
parent e3951fa3c6
commit 36e336f406
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ ol.proj.Projection = function(options) {
!goog.isDef(projections[code])) {
var def = proj4.defs(code);
if (def !== undefined) {
if (goog.isDef(def.axis) && !goog.isDef(options.axisOrientation)) {
if (goog.isDef(def.axis) && options.axisOrientation === undefined) {
this.axisOrientation_ = def.axis;
}
if (options.units === undefined) {