Pass extension instance to JS hook views
Review Request #8594 — Created Jan. 5, 2017 and submitted
This makes it easy to pass e.g. extra model data from Python JSExtension::get_model_data() to the view.
Verified that the extension instance is available in a ReviewDialogHookView.
Tool: PEP8 Style Checker Ignored Files: reviewboard/static/rb/js/views/reviewDialogView.es6.js reviewboard/static/rb/js/views/commentDialogView.js Tool: Pyflakes Ignored Files: reviewboard/static/rb/js/views/reviewDialogView.es6.js reviewboard/static/rb/js/views/commentDialogView.js