Replace goog.nullFunction with ol.nullFunction

This commit is contained in:
Marc Jansen
2015-09-29 16:39:35 +02:00
parent fbef99ae96
commit bc58c383ba
13 changed files with 37 additions and 20 deletions
+8
View File
@@ -221,3 +221,11 @@ ol.WEBGL_EXTENSIONS; // value is set in `ol.has`
ol.inherits =
goog.inherits;
// note that the newline above is necessary to satisfy the linter
/**
* A reusable function, used e.g. as a default for callbacks.
*
* @return {undefined} Nothing.
*/
ol.nullFunction = function() {};