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

Task cors check #359

Merged
merged 4 commits into from
Oct 11, 2014
Merged

Task cors check #359

merged 4 commits into from
Oct 11, 2014

Conversation

jgravois
Copy link
Contributor

@jgravois jgravois commented Oct 1, 2014

introduced logic in base Task class to allow users to define CORS support in constructor based on the capability of the hosting web server.

Follows same pattern as base Service class.

if this approach is okay, i will follow up and update documentation.

include resource specific CORS options for Tasks

fixed linting

fixed linting
@patrickarlt
Copy link
Contributor

@jgravois this looks good. Can you add some tests for this. You could look at https://github.com/Esri/esri-leaflet/blob/master/spec/Services/ServiceSpec.js as a reference.

@jgravois
Copy link
Contributor Author

jgravois commented Oct 2, 2014

yup. i'm having trouble running grunt locally at the moment (hangs on 'watch' task), but i'll get it figured out and lay down another commit with the appropriate tests.

realizing a couple more things though

  1. Task needs more internal logic if its going to support proxying and authentication without a Service.
  2. The Task base class isn't in the API reference. If it should be I can work on that too.

@jgravois
Copy link
Contributor Author

jgravois commented Oct 2, 2014

@patrickarlt these tests seem appropriate to me (and are passing). let me know what you think.

@jgravois
Copy link
Contributor Author

jgravois commented Oct 9, 2014

not sure whats going on here. all tests are passing in my local branch...

@patrickarlt
Copy link
Contributor

Let me kick off a new build and see how that does. Shouldn't be an error there.

patrickarlt added a commit that referenced this pull request Oct 11, 2014
@patrickarlt patrickarlt merged commit a2f41e6 into Esri:master Oct 11, 2014
@jgravois jgravois deleted the task-cors-check branch October 14, 2014 22:36
jgravois pushed a commit to jgravois/esri-leaflet that referenced this pull request Apr 23, 2022
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