Move the CommentBarIssueView creation code into ReviewBoxView.
Review Request #4381 — Created Aug. 2, 2013 and submitted — Latest diff uploaded
Move the CommentBarIssueView creation code into ReviewBoxView. The code to create a CommentBarIssueView was being done inside the template for the page, adding more script tags and more document.ready calls. This code is now created when rendering the ReviewBoxView. It creates based on data attributes now stored on the element. It's part of an effort to remove <script> tags in the templates, which will help with the require.js migration.
Tested loading comments without issues, and comments with. That's with and without a logged in user. Tested changing issue state.