-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Better code indentation and modules renaming #7826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/ol/layer/Tile.js
Outdated
| return ( | ||
| /** @type {number} */ this.get(_ol_layer_TileProperty_.PRELOAD) | ||
| ); | ||
| return (/** @type {number} */ this.get(TileProperty.PRELOAD)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These parens might have gotten messed up by the initial code transform. Shouldn't this be like:
return /** @type {number} */ (this.get(TileProperty.PRELOAD));(I'll be happy when we get rid of these typecasts altogether.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in a8f4348
src/ol/layer/Tile.js
Outdated
| return ( | ||
| /** @type {boolean} */ this.get(_ol_layer_TileProperty_.USE_INTERIM_TILES_ON_ERROR) | ||
| ); | ||
| return (/** @type {boolean} */ this.get(TileProperty.USE_INTERIM_TILES_ON_ERROR)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here regarding the grouping.
src/ol/layer/VectorTile.js
Outdated
| return ( | ||
| /** @type {boolean} */ this.get(_ol_layer_TileProperty_.USE_INTERIM_TILES_ON_ERROR) | ||
| ); | ||
| return (/** @type {boolean} */ this.get(TileProperty.USE_INTERIM_TILES_ON_ERROR)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grouping.
No description provided.