Merge pull request #7635 from fredj/named_export

More module renaming
This commit is contained in:
Frédéric Junod
2017-12-19 16:41:14 +01:00
committed by GitHub
26 changed files with 137 additions and 137 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ import EventType from '../events/EventType.js';
import {getIntersection} from '../extent.js';
import _ol_layer_Base_ from '../layer/Base.js';
import _ol_obj_ from '../obj.js';
import _ol_source_State_ from '../source/State.js';
import SourceState from '../source/State.js';
/**
@@ -232,7 +232,7 @@ _ol_layer_Group_.prototype.getLayerStatesArray = function(opt_states) {
* @inheritDoc
*/
_ol_layer_Group_.prototype.getSourceState = function() {
return _ol_source_State_.READY;
return SourceState.READY;
};
export default _ol_layer_Group_;
+2 -2
View File
@@ -9,7 +9,7 @@ import _ol_layer_Base_ from '../layer/Base.js';
import _ol_layer_Property_ from '../layer/Property.js';
import _ol_obj_ from '../obj.js';
import RenderEventType from '../render/EventType.js';
import _ol_source_State_ from '../source/State.js';
import SourceState from '../source/State.js';
/**
* @classdesc
@@ -124,7 +124,7 @@ _ol_layer_Layer_.prototype.getSource = function() {
*/
_ol_layer_Layer_.prototype.getSourceState = function() {
var source = this.getSource();
return !source ? _ol_source_State_.UNDEFINED : source.getState();
return !source ? SourceState.UNDEFINED : source.getState();
};