Skip to content

Conversation

@probins
Copy link
Contributor

@probins probins commented May 26, 2016

The next and penultimate part of typedef move.

The namespace is only used currently for 2 typedefs and 1 enum, so it serves little purpose.
So the 2 typedefs are renamed in the ol namespace, and the enum moved to rastersource.js

@ahocevar if this looks familiar, it's much as you proposed in a096c3d. The main difference is that you renamed the enum to ol.source.RasterOperationType. I prefer ol.RasterOperationType so it's consistent with ol.RasterOperation. And in any case, the sub-namespaces will be disappearing as part of conversion to modules.

I generated apidocs, and the refs all look ok.

Now used only for 1 typedefs and 1 enum, it serves little purpose,
so the typedef is renamed in the ol namespace, and the enum moved to rastersource.js
@probins
Copy link
Contributor Author

probins commented Jun 8, 2016

now rebased to account for #5427. As ol.raster.Pixel has now been removed, the ol.raster namespace now makes even less sense.

@ahocevar
Copy link
Member

ahocevar commented Jun 8, 2016

Thanks @probins.

@ahocevar ahocevar merged commit 54f7bb6 into openlayers:master Jun 8, 2016
@probins probins deleted the raster branch June 8, 2016 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants