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

View File

@@ -16,8 +16,8 @@ import _ol_obj_ from '../obj.js';
import _ol_renderer_canvas_ImageLayer_ from '../renderer/canvas/ImageLayer.js';
import _ol_renderer_canvas_TileLayer_ from '../renderer/canvas/TileLayer.js';
import _ol_source_Image_ from '../source/Image.js';
import _ol_source_RasterOperationType_ from '../source/RasterOperationType.js';
import _ol_source_State_ from '../source/State.js';
import RasterOperationType from '../source/RasterOperationType.js';
import SourceState from '../source/State.js';
import _ol_source_Tile_ from '../source/Tile.js';
import _ol_transform_ from '../transform.js';
@@ -46,7 +46,7 @@ var _ol_source_Raster_ = function(options) {
* @type {ol.source.RasterOperationType}
*/
this.operationType_ = options.operationType !== undefined ?
options.operationType : _ol_source_RasterOperationType_.PIXEL;
options.operationType : RasterOperationType.PIXEL;
/**
* @private
@@ -149,7 +149,7 @@ inherits(_ol_source_Raster_, _ol_source_Image_);
_ol_source_Raster_.prototype.setOperation = function(operation, opt_lib) {
this.worker_ = new Processor({
operation: operation,
imageOps: this.operationType_ === _ol_source_RasterOperationType_.IMAGE,
imageOps: this.operationType_ === RasterOperationType.IMAGE,
queue: 1,
lib: opt_lib,
threads: this.threads_
@@ -201,7 +201,7 @@ _ol_source_Raster_.prototype.allSourcesReady_ = function() {
var source;
for (var i = 0, ii = this.renderers_.length; i < ii; ++i) {
source = this.renderers_[i].getLayer().getSource();
if (source.getState() !== _ol_source_State_.READY) {
if (source.getState() !== SourceState.READY) {
ready = false;
break;
}