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

@@ -23,7 +23,7 @@ ol.format.XML.prototype.read = function(source) {
return this.readFromDocument(/** @type {Document} */ (source));
} else if (ol.xml.isNode(source)) {
return this.readFromNode(/** @type {Node} */ (source));
} else if (goog.isString(source)) {
} else if (typeof source === 'string') {
var doc = ol.xml.parse(source);
return this.readFromDocument(doc);
} else {