Skip to content
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

Deprecation for resources #6120

Merged
merged 4 commits into from
Jan 16, 2018
Merged

Conversation

tfili
Copy link
Contributor

@tfili tfili commented Jan 15, 2018

A bunch of places now take a Resource as a url. Some of these classes also took other parameters that are now part of the resource (eg. proxy, headers, query). These parameters have been deprecated since they can be passed in as part of the resource instance.

@cesium-concierge
Copy link

Signed CLA is on file.

@tfili, thanks for the pull request! Maintainers, we have a signed CLA from @tfili, so you can review this at any time.

⚠️ I noticed that CHANGES.md has not been updated. If this change updates the public API in any way, fixes a bug, or makes any non-trivial update, please add a bullet point to CHANGES.md and comment on this pull request so we know it was updated. For more info, see the Pull Request Guidelines.


I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.

🌍 🌎 🌏

@hpinkos hpinkos mentioned this pull request Jan 16, 2018
42 tasks
@@ -66,6 +68,10 @@ define([
}
//>>includeEnd('debug');

if (defined(allowCrossOrigin)) {
deprecationWarning('loadCubeMap.allowCrossOrigin', 'The allowCrossOrigin parameter has been deprecated. It no longer needs to be specified.');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is private, so we shouldn't need to deprecate anything.

@@ -106,6 +107,10 @@ define([
}
//>>includeEnd('debug');

if (defined(options.headers)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is private as well, so we shouldn't need this deprecation.

@mramato
Copy link
Contributor

mramato commented Jan 16, 2018

Just those comments, nothing else jumps out at me (and this will get another look in the main PR) so once you address them I'll merge (or you can just merge yourself since this goes into a branch).

@tfili tfili merged commit d5ca40f into upend-resource-loading Jan 16, 2018
@tfili tfili deleted the deprecation-for-resources branch January 16, 2018 19:08
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.

3 participants