Remove use of goog.isString()

This commit is contained in:
Marc Jansen
2016-02-05 15:12:00 +01:00
parent 057633c2c4
commit efa82dccf9
20 changed files with 43 additions and 43 deletions

View File

@@ -222,7 +222,7 @@ ol.renderer.Layer.prototype.updateAttributions = function(attributionsSet, attri
ol.renderer.Layer.prototype.updateLogos = function(frameState, source) {
var logo = source.getLogo();
if (logo !== undefined) {
if (goog.isString(logo)) {
if (typeof logo === 'string') {
frameState.logos[logo] = '';
} else if (goog.isObject(logo)) {
goog.asserts.assertString(logo.href, 'logo.href is a string');