jsoma/tabletop — pull request #37 by thomaswilburn (2014-01-03 21:32:26+00:00)
Title: Use CORS to request sheets in compatible browsers.

This change will allow Tabletop to pull from Google using the JSON feed instead of JSONP in browsers that support cross-origin XHR. It will work in Firefox and Chrome, and should work in IE8/9 -- with one caveat: Internet Explorer's XDomainRequest object will not make requests across protocols, so the page hosting Tabletop must be served via HTTPS in order to talk to Google's HTTPS endpoint. Otherwise, you're back to proxies.

On the other hand, this is also much cleaner in browsers that support CORS fully, and should be more secure.

I also added a Gruntfile and a task to run servers on both https and http for testing in browsers. The package.json updates are not very specific, but these are pretty stable modules.