beezee/djax — pull request #10 by GaryJones (2012-03-06 18:52:38+00:00)
Title: General code improvements

Formats code to match with jshints defaults. Some people are fussy and would do this anyway (and those that aren't bothered, aren't bothered), so for the sake of a few extra braces and whitespace, it would be better to have it completed in core. The JS can always be minified by those that want to save a few extra bytes.

Adds some basic documentation - mostly comments for each function or block of code.

Removes replaceState bit of code, since it seemed to be replacing the last history item with exactly the same details. Not sure if I misunderstood why this was present in the first place.

Removes duplicate `var newBlocks = ...` line.

Incorporates the changes made in #9.

Obviously, please test on your own setup before merging.

NOT DONE:
Bumped version
Added me as a contributor ;-)