Autofix indentation issues (eslint --fix)

This commit is contained in:
Marc Jansen
2017-06-19 11:58:00 +02:00
parent a17db4f45c
commit d0ef05977b
196 changed files with 1574 additions and 1574 deletions
+4 -4
View File
@@ -171,7 +171,7 @@ ol.VectorImageTile.prototype.getContext = function() {
*/
ol.VectorImageTile.prototype.getImage = function() {
return this.replayState_.renderedTileRevision == -1 ?
null : this.context_.canvas;
null : this.context_.canvas;
};
@@ -234,7 +234,7 @@ ol.VectorImageTile.prototype.load = function() {
}
if (leftToLoad == 0) {
this.setState(this.tileKeys.length > 0 ?
ol.TileState.LOADED : ol.TileState.ERROR);
ol.TileState.LOADED : ol.TileState.ERROR);
}
}
}.bind(this));
@@ -246,8 +246,8 @@ ol.VectorImageTile.prototype.load = function() {
if (leftToLoad == 0) {
setTimeout(function() {
this.setState(this.tileKeys.length > 0 ?
ol.TileState.LOADED :
(errors ? ol.TileState.ERROR : ol.TileState.EMPTY));
ol.TileState.LOADED :
(errors ? ol.TileState.ERROR : ol.TileState.EMPTY));
}.bind(this), 0);
}
};