diff options
author | Stas Vilchik <stas-vilchik@users.noreply.github.com> | 2017-03-17 09:10:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-17 09:10:48 +0100 |
commit | de4365079bad2df3bdee2133576dc913ffbf1ab2 (patch) | |
tree | a522ccb952f0d37f454e8188e13b3dec3f731912 /server/sonar-web/src/main/js/components/issue/views/issue-popup.js | |
parent | 6a03df65cc0c91a26150ea172a2c480e07326ea1 (diff) | |
download | sonarqube-de4365079bad2df3bdee2133576dc913ffbf1ab2.tar.gz sonarqube-de4365079bad2df3bdee2133576dc913ffbf1ab2.zip |
format code using prettier (#1774)
Diffstat (limited to 'server/sonar-web/src/main/js/components/issue/views/issue-popup.js')
-rw-r--r-- | server/sonar-web/src/main/js/components/issue/views/issue-popup.js | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/server/sonar-web/src/main/js/components/issue/views/issue-popup.js b/server/sonar-web/src/main/js/components/issue/views/issue-popup.js index 4462e3f6b94..96488cd1e45 100644 --- a/server/sonar-web/src/main/js/components/issue/views/issue-popup.js +++ b/server/sonar-web/src/main/js/components/issue/views/issue-popup.js @@ -22,28 +22,25 @@ import PopupView from '../../common/popup'; export default PopupView.extend({ className: 'bubble-popup issue-bubble-popup', - template () { + template() { return '<div class="bubble-popup-arrow"></div>'; }, - events () { + events() { return { 'click .js-issue-form-cancel': 'destroy' }; }, - onRender () { + onRender() { PopupView.prototype.onRender.apply(this, arguments); this.options.view.$el.appendTo(this.$el); this.options.view.render(); }, - onDestroy () { + onDestroy() { this.options.view.destroy(); }, - attachCloseEvents () { - - } + attachCloseEvents() {} }); - |