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

@@ -26,7 +26,7 @@ goog.inherits(ol.format.TextFeature, ol.format.Feature);
* @return {string} Text.
*/
ol.format.TextFeature.prototype.getText_ = function(source) {
if (goog.isString(source)) {
if (typeof source === 'string') {
return source;
} else {
goog.asserts.fail();