Named exports from ol/functions

This commit is contained in:
Frederic Junod
2017-12-15 13:44:32 +01:00
parent 75ea4d3e9a
commit 2498bba90a
21 changed files with 52 additions and 60 deletions

View File

@@ -1,21 +1,19 @@
/**
* @module ol/functions
*/
var _ol_functions_ = {};
/**
* Always returns true.
* @returns {boolean} true.
*/
_ol_functions_.TRUE = function() {
export function TRUE() {
return true;
};
}
/**
* Always returns false.
* @returns {boolean} false.
*/
_ol_functions_.FALSE = function() {
export function FALSE() {
return false;
};
export default _ol_functions_;
}