Get rid of goog.isFunction

This commit is contained in:
Frederic Junod
2016-06-20 16:09:25 +02:00
parent e916345e8c
commit b8ce70fbf0
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -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 {
/**