mozilla/x-tag — pull request #30 by YorickPeterse (2012-06-20 23:12:51+00:00)
Title: Code cleanups, replacing of tabs and documentation

This pull request is currently still a work in progress but is meant to address
the following:

* spaces should be used for indentation, see #28
* inconsistent use of whitespace, statements (`if`, `for`, etc)
* various jslint errors (those that made sense to me)
* documentation

In the current set of commits I've addressed the first 3 items as much as I
could. However, I can imagine that my coding style may differ from the one used
at Mozilla or for this specific project. If this is the case and it has to be
changed I'll be happy to do so.

The last item, documentation, will be addressed in coming commits which I'll
probably push somewhere this evening (GMT+2), otherwise they'll be pushed
tomorrow.

While cleaning up the code I might have broken something so it's wise to verify
the code in different browsers before accepting (or denying) it. I've tested it
in Chromium 19 and it works fine. However, both my local copy as well as the
online version on Github don't seem to work in Firefox 13.

Last but not least: feedback welcome :)