diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-05-12 09:49:07 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-05-12 09:49:07 -0500 |
commit | 249023156ec4590e7a38dda5669ac1e1142ad702 (patch) | |
tree | 4893051e3fb590e5f2758150e14277e11ece3df8 /app | |
parent | 5efb0a952489f9f33346408b7b8e240788bff933 (diff) | |
download | gitlab-ce-249023156ec4590e7a38dda5669ac1e1142ad702.tar.gz |
Satisfy ESlint
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js index 2d39d091878..5440532f559 100644 --- a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js +++ b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_header.js @@ -14,12 +14,13 @@ export default { }, branchNameClipboardData() { // This supports code in app/assets/javascripts/copy_to_clipboard.js that - // works around ClipboardJS limitations to allow the context-specific copy/pasting of plain text or GFM. + // works around ClipboardJS limitations to allow the context-specific + // copy/pasting of plain text or GFM. return JSON.stringify({ text: this.mr.sourceBranch, - gfm: '`' + this.mr.sourceBranch + '`' + gfm: `\`${this.mr.sourceBranch}\``, }); - } + }, }, methods: { isBranchTitleLong(branchTitle) { |