paulirish/infinite-scroll — pull request #515 by armstrong398 (2014-03-24 09:30:09+00:00)
Title: add functionality to use POST requests in ajax json request as well as G...

I wanted to send my data as a POST request instead of a GET request in my AJAX call to stop me having to modify my filter functionality. To do this, all I had to do was change the 'type' field for the 'json' method to be a value that could be passed in, and to add my new field 'data' which I used to pass in my form posts. I added "type:'get'" and "data:undefined" as my default values for this. (not sure if I should have updated minified version as well, I'm new to contributing to open source!).