Open gauthierm opened 10 years ago
Changes looks great, I think I may have to bump the version number to 2.0.0 as these changes are clearly API breaking.
Could you also update the docs https://github.com/bytespider/jsOAuth/blob/gh-pages/api-reference/index.markdown to reflect the changes to the API?
Other than that, great work, I'll let the changing of == to === and a few other formatting things slide.
Thanks. A couple of questions:
I can update the docs. The tests are probably also out of date.
Yeah tests would be good.
No, the 2.0 branch was meant for a complete rewrite that I never completed. What I've done is branched off master for 1.x, so I'm happy for these 2.x changes to be on master.
Yea if you could rebase with master, if you didnt already, and squash to a couple or one commit, that would make the merge/history simpler I suspect
Changes query string from a hash to a list. Changes the JSON data structure for passing in parameters.
Where previously
data
was an object hash, it is now an array: