rbwatson/wlux_test_server — pull request #5 by jmcmanus (2012-11-29 03:39:00+00:00)
Title: Fixed issues from last meeting

* The body is now actually hidden until everything is loaded ( I was using setTimeout before instead of setInterval).
* Pass a single JSON object to the logger service instead of individual POST parameters.
* Logs are done synchronously now. Before they were done asynchronously, which means some transitions weren't logged if the browser decided to load the next page before honoring our request.
* Converted jsonp request to use jquery.
* Cleanup, improved flow and layout of instrumentation file.
* Cleanup of study_data.php, now uses GET.
* Correctly log End Study button click (there was some weirdness with how the event is passed from a click on a button wrapped in an anchor tag).
* Added google closure compiler (and instruction in readme) to compile / minify the javascript so it downloads and runs faster. Test sites only need to include a single file now, `wlux_instrumentation.min.js`.

You shouldn't need to edit anything to get it running on your server this time. I believe I've now replaced all the hard-coded urls with dynamically chosen urls based on whether it's being run locally or on your servers (see the pull request for wlux_test_site also).