Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Split progress event handlers into upload and download. #423
Splits progress config into two options,
Previously there were no tests for progress handling...so i've added some. But testing is difficult as the Jasmine-AJAX plugin doesn't handle
At some point in future i'll do a PR to allow progress events in the Node world.
referenced this pull request
Aug 22, 2016
@nickuraltsev the Jasmine AJAX fakeXHR hasn't implemented upload events. So i can't do any tests on that yet. I'm gonna create an issue/PR over there so we can test this properly, not sure if you wanna wait for that before merging this.
In the meantime i've switched the tests to use spies which is much nicer.