gitlabhq/gitlabhq — pull request #1412 by tsigo (2012-09-09 11:31:37+00:00)
Title: Convert main.js to CoffeeScript

Does a bit of refactoring along the way, removing methods that are no
longer required or used, and fixes a misspelling of "empty" in a
function name.

Also adds two jQuery extension functions: `enable` and `disable` which
removes some duplication we were doing with disabling form fields and
adding the 'disabled' class to them at the same time. The two methods do
what you'd expect.