-
Notifications
You must be signed in to change notification settings - Fork 799
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
Task cors check #359
Conversation
8399b7e
to
0fcc125
Compare
include resource specific CORS options for Tasks fixed linting fixed linting
9026f13
to
d23eb73
Compare
@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. |
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
|
@patrickarlt these tests seem appropriate to me (and are passing). let me know what you think. |
not sure whats going on here. all tests are passing in my local branch... |
Let me kick off a new build and see how that does. Shouldn't be an error there. |
Task cors check
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.