Use named exports from ol/index.js

This commit is contained in:
Tim Schaub
2017-12-12 10:24:58 -07:00
parent fce644556b
commit 87295a74dd
250 changed files with 874 additions and 887 deletions

View File

@@ -1,7 +1,7 @@
/**
* @module ol/featureloader
*/
import _ol_ from './index.js';
import {nullFunction} from './index.js';
import _ol_format_FormatType_ from './format/FormatType.js';
import _ol_xml_ from './xml.js';
var _ol_featureloader_ = {};
@@ -96,6 +96,6 @@ _ol_featureloader_.xhr = function(url, format) {
*/
function(features, dataProjection) {
this.addFeatures(features);
}, /* FIXME handle error */ _ol_.nullFunction);
}, /* FIXME handle error */ nullFunction);
};
export default _ol_featureloader_;