gitlabhq/gitlabhq — pull request #1664 by riyad (2012-10-09 22:31:50+00:00)
Title: Cleanup auto-completion and add it to all GFM inputs

* Extracts static initialization and setup from the notes form and moves them into an JS asset (converted to CoffeeScript)
* Puts the per request initialization into a layout partial
* Moves helper into ApplicationHelper
* Marks all GFM capable inputs as such, so auto-completion works on them, too
* Fixes forms that get added after page load (i.e. per Ajax)