Named export for ol/control

This commit is contained in:
Frederic Junod
2017-12-17 18:53:50 +01:00
parent db3e885076
commit da67764437
39 changed files with 78 additions and 80 deletions

View File

@@ -5,7 +5,6 @@ import _ol_Collection_ from './Collection.js';
import Attribution from './control/Attribution.js';
import Rotate from './control/Rotate.js';
import Zoom from './control/Zoom.js';
var _ol_control_ = {};
/**
@@ -20,7 +19,7 @@ var _ol_control_ = {};
* @return {ol.Collection.<ol.control.Control>} Controls.
* @api
*/
_ol_control_.defaults = function(opt_options) {
export function defaults(opt_options) {
var options = opt_options ? opt_options : {};
@@ -44,5 +43,4 @@ _ol_control_.defaults = function(opt_options) {
return controls;
};
export default _ol_control_;
}