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

@@ -94,7 +94,7 @@ ol.layer.Heatmap = function(opt_options) {
var weight = options.weight ? options.weight : 'weight';
var weightFunction;
if (goog.isString(weight)) {
if (typeof weight === 'string') {
weightFunction = function(feature) {
return feature.get(weight);
};