Get rid of goog.functions
This commit is contained in:
17
src/ol/functions.js
Normal file
17
src/ol/functions.js
Normal file
@@ -0,0 +1,17 @@
|
||||
goog.provide('ol.functions');
|
||||
|
||||
/**
|
||||
* Always returns true.
|
||||
* @returns {boolean} true.
|
||||
*/
|
||||
ol.functions.TRUE = function() {
|
||||
return true;
|
||||
};
|
||||
|
||||
/**
|
||||
* Always returns false.
|
||||
* @returns {boolean} false.
|
||||
*/
|
||||
ol.functions.FALSE = function() {
|
||||
return false;
|
||||
};
|
||||
Reference in New Issue
Block a user