Inline simple goog.isDef() checks

This commit is contained in:
Tim Schaub
2015-09-27 10:18:44 -06:00
parent cf5eadebaa
commit 7659e47e07
22 changed files with 59 additions and 59 deletions

View File

@@ -116,7 +116,7 @@ ol.Object = function(opt_values) {
*/
this.values_ = {};
if (goog.isDef(opt_values)) {
if (opt_values !== undefined) {
this.setProperties(opt_values);
}
};