Remove goog.isObject not in assertions

This commit is contained in:
Peter Robins
2016-07-16 09:31:27 +00:00
parent 34d5cc228e
commit 53a7aad431
3 changed files with 5 additions and 5 deletions

View File

@@ -1486,7 +1486,7 @@ ol.Map.createOptionsInternal = function(options) {
logos[logo] = '';
} else if (logo instanceof HTMLElement) {
logos[goog.getUid(logo).toString()] = logo;
} else if (goog.isObject(logo)) {
} else if (logo !== null) {
goog.asserts.assertString(logo.href, 'logo.href should be a string');
goog.asserts.assertString(logo.src, 'logo.src should be a string');
logos[logo.src] = logo.href;