Get rid of goog.isFunction
This commit is contained in:
+1
-1
@@ -294,7 +294,7 @@ ol.Feature.prototype.setGeometryName = function(name) {
|
||||
ol.Feature.createStyleFunction = function(obj) {
|
||||
var styleFunction;
|
||||
|
||||
if (goog.isFunction(obj)) {
|
||||
if (typeof obj === 'function') {
|
||||
styleFunction = obj;
|
||||
} else {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user