Commit 7ccd235d authored by Mike Greiling's avatar Mike Greiling

Upgrade prettier and reformat files as necessary

Upgrades prettier to 1.15.3
Runs `yarn prettier-save-all` against the codebase
Most changes are due to https://github.com/prettier/prettier/pull/5519
parent 8fecf976
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
:disabled="badge.isDeleting" :disabled="badge.isDeleting"
class="btn btn-default append-right-8" class="btn btn-default append-right-8"
type="button" type="button"
@click="editBadge(badge);" @click="editBadge(badge)"
> >
<icon :size="16" :aria-label="__('Edit')" name="pencil" /> <icon :size="16" :aria-label="__('Edit')" name="pencil" />
</button> </button>
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
type="button" type="button"
data-toggle="modal" data-toggle="modal"
data-target="#delete-badge-modal" data-target="#delete-badge-modal"
@click="updateBadgeInModal(badge);" @click="updateBadgeInModal(badge)"
> >
<icon :size="16" :aria-label="__('Delete')" name="remove" /> <icon :size="16" :aria-label="__('Delete')" name="remove" />
</button> </button>
......
...@@ -86,7 +86,7 @@ export default { ...@@ -86,7 +86,7 @@ export default {
class="board-card" class="board-card"
@mousedown="mouseDown" @mousedown="mouseDown"
@mousemove="mouseMove" @mousemove="mouseMove"
@mouseup="showIssue($event);" @mouseup="showIssue($event)"
> >
<issue-card-inner <issue-card-inner
:list="list" :list="list"
......
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
<template> <template>
<div class="board-new-issue-form"> <div class="board-new-issue-form">
<div class="board-card"> <div class="board-card">
<form @submit="submit($event);"> <form @submit="submit($event)">
<div v-if="error" class="flash-container"> <div v-if="error" class="flash-container">
<div class="flash-alert">An error occurred. Please try again.</div> <div class="flash-alert">An error occurred. Please try again.</div>
</div> </div>
......
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
:title="label.description" :title="label.description"
class="badge color-label append-right-4 prepend-top-4" class="badge color-label append-right-4 prepend-top-4"
type="button" type="button"
@click="filterByLabel(label);" @click="filterByLabel(label)"
> >
{{ label.title }} {{ label.title }}
</button> </button>
......
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
v-if="activeTab === 'selected'" v-if="activeTab === 'selected'"
class="btn btn-default" class="btn btn-default"
type="button" type="button"
@click="changeTab('all');" @click="changeTab('all')"
> >
Open issues Open issues
</button> </button>
......
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
<span class="inline add-issues-footer-to-list"> to list </span> <span class="inline add-issues-footer-to-list"> to list </span>
<lists-dropdown /> <lists-dropdown />
</div> </div>
<button class="btn btn-default float-right" type="button" @click="toggleModal(false);"> <button class="btn btn-default float-right" type="button" @click="toggleModal(false)">
Cancel Cancel
</button> </button>
</footer> </footer>
......
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
class="close" class="close"
data-dismiss="modal" data-dismiss="modal"
aria-label="Close" aria-label="Close"
@click="toggleModal(false);" @click="toggleModal(false)"
> >
<span aria-hidden="true">×</span> <span aria-hidden="true">×</span>
</button> </button>
......
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
<div <div
:class="{ 'is-active': issue.selected }" :class="{ 'is-active': issue.selected }"
class="board-card" class="board-card"
@click="toggleIssue($event, issue);" @click="toggleIssue($event, issue)"
> >
<issue-card-inner :issue="issue" :issue-link-base="issueLinkBase" :root-path="rootPath" /> <issue-card-inner :issue="issue" :issue-link-base="issueLinkBase" :root-path="rootPath" />
<icon <icon
......
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
:class="{ 'is-active': list.id == selected.id }" :class="{ 'is-active': list.id == selected.id }"
href="#" href="#"
role="button" role="button"
@click.prevent="modal.selectedList = list;" @click.prevent="modal.selectedList = list"
> >
<span :style="{ backgroundColor: list.label.color }" class="dropdown-label-box"> </span> <span :style="{ backgroundColor: list.label.color }" class="dropdown-label-box"> </span>
{{ list.title }} {{ list.title }}
......
...@@ -21,12 +21,12 @@ export default { ...@@ -21,12 +21,12 @@ export default {
<div class="top-area prepend-top-10 append-bottom-10"> <div class="top-area prepend-top-10 append-bottom-10">
<ul class="nav-links issues-state-filters"> <ul class="nav-links issues-state-filters">
<li :class="{ active: activeTab == 'all' }"> <li :class="{ active: activeTab == 'all' }">
<a href="#" role="button" @click.prevent="changeTab('all');"> <a href="#" role="button" @click.prevent="changeTab('all')">
Open issues <span class="badge badge-pill"> {{ issuesCount }} </span> Open issues <span class="badge badge-pill"> {{ issuesCount }} </span>
</a> </a>
</li> </li>
<li :class="{ active: activeTab == 'selected' }"> <li :class="{ active: activeTab == 'selected' }">
<a href="#" role="button" @click.prevent="changeTab('selected');"> <a href="#" role="button" @click.prevent="changeTab('selected')">
Selected issues <span class="badge badge-pill"> {{ selectedCount }} </span> Selected issues <span class="badge badge-pill"> {{ selectedCount }} </span>
</a> </a>
</li> </li>
......
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
:save-button-title="__('Comment')" :save-button-title="__('Comment')"
class="diff-comment-form new-note discussion-form discussion-form-container" class="diff-comment-form new-note discussion-form discussion-form-container"
@handleFormUpdate="handleSaveNote" @handleFormUpdate="handleSaveNote"
@cancelForm="closeDiffFileCommentForm(diffFile.file_hash);" @cancelForm="closeDiffFileCommentForm(diffFile.file_hash)"
/> />
</div> </div>
</diff-viewer> </diff-viewer>
......
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
}" }"
type="button" type="button"
class="js-diff-notes-toggle" class="js-diff-notes-toggle"
@click="toggleDiscussion({ discussionId: discussion.id });" @click="toggleDiscussion({ discussionId: discussion.id })"
> >
<icon v-if="discussion.expanded" name="collapse" class="collapse-icon" /> <icon v-if="discussion.expanded" name="collapse" class="collapse-icon" />
<template v-else> <template v-else>
......
...@@ -145,7 +145,7 @@ export default { ...@@ -145,7 +145,7 @@ export default {
<div <div
ref="header" ref="header"
class="js-file-title file-title file-title-flex-parent" class="js-file-title file-title file-title-flex-parent"
@click="handleToggleFile($event, true);" @click="handleToggleFile($event, true)"
> >
<div class="file-header-content"> <div class="file-header-content">
<icon <icon
......
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
v-if="lineNumber" v-if="lineNumber"
:data-linenumber="lineNumber" :data-linenumber="lineNumber"
:href="lineHref" :href="lineHref"
@click="setHighlightedRow(lineCode);" @click="setHighlightedRow(lineCode)"
> >
</a> </a>
<diff-gutter-avatars v-if="shouldShowAvatarsOnGutter" :discussions="line.discussions" /> <diff-gutter-avatars v-if="shouldShowAvatarsOnGutter" :discussions="line.discussions" />
......
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
v-if="canComment" v-if="canComment"
type="button" type="button"
class="btn-transparent position-absolute image-diff-overlay-add-comment w-100 h-100 js-add-image-diff-note-button" class="btn-transparent position-absolute image-diff-overlay-add-comment w-100 h-100 js-add-image-diff-note-button"
@click="clickedImage($event.offsetX, $event.offsetY);" @click="clickedImage($event.offsetX, $event.offsetY)"
> >
<span class="sr-only"> {{ __('Add image comment') }} </span> <span class="sr-only"> {{ __('Add image comment') }} </span>
</button> </button>
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
:disabled="!shouldToggleDiscussion" :disabled="!shouldToggleDiscussion"
class="js-image-badge" class="js-image-badge"
type="button" type="button"
@click="toggleDiscussion({ discussionId: discussion.id });" @click="toggleDiscussion({ discussionId: discussion.id })"
> >
<icon v-if="showCommentIcon" name="image-comment-dark" /> <icon v-if="showCommentIcon" name="image-comment-dark" />
<template v-else> <template v-else>
......
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
:placeholder="s__('MergeRequest|Filter files')" :placeholder="s__('MergeRequest|Filter files')"
type="search" type="search"
class="form-control" class="form-control"
@focus="toggleFocusSearch(true);" @focus="toggleFocusSearch(true)"
@blur="blurSearch" @blur="blurSearch"
/> />
<button <button
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
}" }"
class="btn btn-default pt-0 pb-0 d-flex align-items-center" class="btn btn-default pt-0 pb-0 d-flex align-items-center"
type="button" type="button"
@click="toggleRenderTreeList(false);" @click="toggleRenderTreeList(false)"
> >
<icon name="hamburger" /> <icon name="hamburger" />
</button> </button>
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
}" }"
class="btn btn-default pt-0 pb-0 d-flex align-items-center" class="btn btn-default pt-0 pb-0 d-flex align-items-center"
type="button" type="button"
@click="toggleRenderTreeList(true);" @click="toggleRenderTreeList(true)"
> >
<icon name="file-tree" /> <icon name="file-tree" />
</button> </button>
......
...@@ -92,7 +92,7 @@ export default { ...@@ -92,7 +92,7 @@ export default {
:disabled="isActionDisabled(action)" :disabled="isActionDisabled(action)"
type="button" type="button"
class="js-manual-action-link no-btn btn d-flex align-items-center" class="js-manual-action-link no-btn btn d-flex align-items-center"
@click="onClickAction(action);" @click="onClickAction(action)"
> >
<span class="flex-fill"> {{ action.name }} </span> <span class="flex-fill"> {{ action.name }} </span>
<span v-if="action.scheduledAt" class="text-secondary"> <span v-if="action.scheduledAt" class="text-secondary">
......
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
<button <button
type="button" type="button"
class="filtered-search-history-dropdown-item" class="filtered-search-history-dropdown-item"
@click="onItemActivated(item.text);" @click="onItemActivated(item.text)"
> >
<span> <span>
<span <span
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
<button <button
type="button" type="button"
class="filtered-search-history-clear-button" class="filtered-search-history-clear-button"
@click="onRequestClearRecentSearches($event);" @click="onRequestClearRecentSearches($event)"
> >
Clear recent searches Clear recent searches
</button> </button>
......
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
data-placement="right" data-placement="right"
type="button" type="button"
class="ide-sidebar-link js-ide-edit-mode" class="ide-sidebar-link js-ide-edit-mode"
@click.prevent="changedActivityView($event, $options.activityBarViews.edit);" @click.prevent="changedActivityView($event, $options.activityBarViews.edit)"
> >
<icon name="code" /> <icon name="code" />
</button> </button>
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
data-placement="right" data-placement="right"
type="button" type="button"
class="ide-sidebar-link js-ide-review-mode" class="ide-sidebar-link js-ide-review-mode"
@click.prevent="changedActivityView($event, $options.activityBarViews.review);" @click.prevent="changedActivityView($event, $options.activityBarViews.review)"
> >
<icon name="file-modified" /> <icon name="file-modified" />
</button> </button>
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,7 @@ export default {
data-placement="right" data-placement="right"
type="button" type="button"
class="ide-sidebar-link js-ide-commit-mode" class="ide-sidebar-link js-ide-commit-mode"
@click.prevent="changedActivityView($event, $options.activityBarViews.commit);" @click.prevent="changedActivityView($event, $options.activityBarViews.commit)"
> >
<icon name="commit" /> <icon name="commit" />
</button> </button>
......
...@@ -111,8 +111,8 @@ export default { ...@@ -111,8 +111,8 @@ export default {
name="commit-message" name="commit-message"
@scroll="handleScroll" @scroll="handleScroll"
@input="onInput" @input="onInput"
@focus="updateIsFocused(true);" @focus="updateIsFocused(true)"
@blur="updateIsFocused(false);" @blur="updateIsFocused(false)"
@keydown.ctrl.enter="onCtrlEnter" @keydown.ctrl.enter="onCtrlEnter"
@keydown.meta.enter="onCtrlEnter" @keydown.meta.enter="onCtrlEnter"
> >
......
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
:disabled="disabled" :disabled="disabled"
type="radio" type="radio"
name="commit-action" name="commit-action"
@change="updateCommitAction($event.target.value);" @change="updateCommitAction($event.target.value)"
/> />
<span class="prepend-left-10"> <span class="prepend-left-10">
<span v-if="label" class="ide-radio-label"> {{ label }} </span> <slot v-else></slot> <span v-if="label" class="ide-radio-label"> {{ label }} </span> <slot v-else></slot>
...@@ -76,7 +76,7 @@ export default { ...@@ -76,7 +76,7 @@ export default {
:placeholder="newBranchName" :placeholder="newBranchName"
type="text" type="text"
class="form-control monospace" class="form-control monospace"
@input="updateBranchName($event.target.value);" @input="updateBranchName($event.target.value)"
/> />
</div> </div>
</fieldset> </fieldset>
......
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
data-container="body" data-container="body"
data-boundary="viewport" data-boundary="viewport"
data-placement="bottom" data-placement="bottom"
@click.stop.prevent="stageChange(path);" @click.stop.prevent="stageChange(path)"
> >
<icon :size="16" name="mobile-issue-close" class="ml-auto mr-auto" /> <icon :size="16" name="mobile-issue-close" class="ml-auto mr-auto" />
</button> </button>
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
:header-title-text="modalTitle" :header-title-text="modalTitle"
:footer-primary-button-text="__('Discard changes')" :footer-primary-button-text="__('Discard changes')"
footer-primary-button-variant="danger" footer-primary-button-variant="danger"
@submit="discardFileChanges(path);" @submit="discardFileChanges(path)"
> >
{{ __("You will loose all changes you've made to this file. This action cannot be undone.") }} {{ __("You will loose all changes you've made to this file. This action cannot be undone.") }}
</gl-modal> </gl-modal>
......
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
data-container="body" data-container="body"
data-boundary="viewport" data-boundary="viewport"
data-placement="bottom" data-placement="bottom"
@click.stop.prevent="unstageChange(path);" @click.stop.prevent="unstageChange(path)"
> >
<icon :size="16" name="redo" class="ml-auto mr-auto" /> <icon :size="16" name="redo" class="ml-auto mr-auto" />
</button> </button>
......
...@@ -40,7 +40,7 @@ export default { ...@@ -40,7 +40,7 @@ export default {
'is-active': viewer === $options.viewerTypes.mr, 'is-active': viewer === $options.viewerTypes.mr,
}" }"
href="#" href="#"
@click.prevent="changeMode($options.viewerTypes.mr);" @click.prevent="changeMode($options.viewerTypes.mr)"
> >
<strong class="dropdown-menu-inner-title"> {{ mergeReviewLine }} </strong> <strong class="dropdown-menu-inner-title"> {{ mergeReviewLine }} </strong>
<span class="dropdown-menu-inner-content"> <span class="dropdown-menu-inner-content">
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
'is-active': viewer === $options.viewerTypes.diff, 'is-active': viewer === $options.viewerTypes.diff,
}" }"
href="#" href="#"
@click.prevent="changeMode($options.viewerTypes.diff);" @click.prevent="changeMode($options.viewerTypes.diff)"
> >
<strong class="dropdown-menu-inner-title">{{ __('Reviewing') }}</strong> <strong class="dropdown-menu-inner-title">{{ __('Reviewing') }}</strong>
<span class="dropdown-menu-inner-content"> <span class="dropdown-menu-inner-content">
......
...@@ -164,7 +164,7 @@ export default { ...@@ -164,7 +164,7 @@ export default {
</script> </script>
<template> <template>
<div class="ide-file-finder-overlay" @mousedown.self="toggleFileFinder(false);"> <div class="ide-file-finder-overlay" @mousedown.self="toggleFileFinder(false)">
<div class="dropdown-menu diff-file-changes ide-file-finder show"> <div class="dropdown-menu diff-file-changes ide-file-finder show">
<div class="dropdown-input"> <div class="dropdown-input">
<input <input
...@@ -174,8 +174,8 @@ export default { ...@@ -174,8 +174,8 @@ export default {
type="search" type="search"
class="dropdown-input-field" class="dropdown-input-field"
autocomplete="off" autocomplete="off"
@keydown="onKeydown($event);" @keydown="onKeydown($event)"
@keyup="onKeyup($event);" @keyup="onKeyup($event)"
/> />
<i <i
:class="{ :class="{
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
<gl-loading-icon v-if="showLoading" :size="2" /> <gl-loading-icon v-if="showLoading" :size="2" />
<ul v-else> <ul v-else>
<li v-for="(item, index) in outputData" :key="index"> <li v-for="(item, index) in outputData" :key="index">
<button type="button" @click="clickItem(item);">{{ item.name }}</button> <button type="button" @click="clickItem(item)">{{ item.name }}</button>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
<button <button
type="button" type="button"
class="p-0 border-0 h-50" class="p-0 border-0 h-50"
@click="openRightPane($options.rightSidebarViews.pipelines);" @click="openRightPane($options.rightSidebarViews.pipelines)"
> >
<ci-icon <ci-icon
v-tooltip v-tooltip
......
...@@ -43,7 +43,7 @@ export default { ...@@ -43,7 +43,7 @@ export default {
:show-label="false" :show-label="false"
class="d-flex border-0 p-0 mr-3 qa-new-file" class="d-flex border-0 p-0 mr-3 qa-new-file"
icon="doc-new" icon="doc-new"
@click="openNewEntryModal({ type: 'blob' });" @click="openNewEntryModal({ type: 'blob' })"
/> />
<upload <upload
:show-label="false" :show-label="false"
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
:show-label="false" :show-label="false"
class="d-flex border-0 p-0" class="d-flex border-0 p-0"
icon="folder-new" icon="folder-new"
@click="openNewEntryModal({ type: 'tree' });" @click="openNewEntryModal({ type: 'tree' })"
/> />
</div> </div>
</template> </template>
......
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
<template> <template>
<div class="ide-pipeline build-page d-flex flex-column flex-fill"> <div class="ide-pipeline build-page d-flex flex-column flex-fill">
<header class="ide-job-header d-flex align-items-center"> <header class="ide-job-header d-flex align-items-center">
<button class="btn btn-default btn-sm d-flex" @click="setDetailJob(null);"> <button class="btn btn-default btn-sm d-flex" @click="setDetailJob(null)">
<icon name="chevron-left" /> {{ __('View jobs') }} <icon name="chevron-left" /> {{ __('View jobs') }}
</button> </button>
</header> </header>
......
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
:placeholder="__('Search merge requests')" :placeholder="__('Search merge requests')"
@focus="onSearchFocus" @focus="onSearchFocus"
@input="searchMergeRequests" @input="searchMergeRequests"
@removeToken="setSearchType(null);" @removeToken="setSearchType(null)"
/> />
<icon :size="18" name="search" class="input-icon" /> <icon :size="18" name="search" class="input-icon" />
</div> </div>
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
<button <button
type="button" type="button"
class="btn-link d-flex align-items-center" class="btn-link d-flex align-items-center"
@click.stop="setSearchType(searchType);" @click.stop="setSearchType(searchType)"
> >
<span class="d-flex append-right-default ide-search-list-current-icon"> <span class="d-flex append-right-default ide-search-list-current-icon">
<icon :size="18" name="search" /> <icon :size="18" name="search" />
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
:aria-label="__('Create new file or directory')" :aria-label="__('Create new file or directory')"
type="button" type="button"
class="rounded border-0 d-flex ide-entry-dropdown-toggle" class="rounded border-0 d-flex ide-entry-dropdown-toggle"
@click.stop="openDropdown();" @click.stop="openDropdown()"
> >
<icon name="ellipsis_v" /> <icon name="arrow-down" /> <icon name="ellipsis_v" /> <icon name="arrow-down" />
</button> </button>
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
class="d-flex" class="d-flex"
icon="doc-new" icon="doc-new"
icon-classes="mr-2" icon-classes="mr-2"
@click="createNewItem('blob');" @click="createNewItem('blob')"
/> />
</li> </li>
<li><upload :path="path" @create="createTempEntry" /></li> <li><upload :path="path" @create="createTempEntry" /></li>
...@@ -95,7 +95,7 @@ export default { ...@@ -95,7 +95,7 @@ export default {
class="d-flex" class="d-flex"
icon="folder-new" icon="folder-new"
icon-classes="mr-2" icon-classes="mr-2"
@click="createNewItem($options.modalTypes.tree);" @click="createNewItem($options.modalTypes.tree)"
/> />
</li> </li>
<li class="divider"></li> <li class="divider"></li>
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
class="d-flex" class="d-flex"
icon="pencil" icon="pencil"
icon-classes="mr-2" icon-classes="mr-2"
@click="createNewItem($options.modalTypes.rename);" @click="createNewItem($options.modalTypes.rename)"
/> />
</li> </li>
<li> <li>
...@@ -115,7 +115,7 @@ export default { ...@@ -115,7 +115,7 @@ export default {
class="d-flex" class="d-flex"
icon="remove" icon="remove"
icon-classes="mr-2" icon-classes="mr-2"
@click="deleteEntry(path);" @click="deleteEntry(path)"
/> />
</li> </li>
</ul> </ul>
......
...@@ -114,7 +114,7 @@ export default { ...@@ -114,7 +114,7 @@ export default {
<button <button
type="button" type="button"
class="btn btn-missing p-1 pr-2 pl-2" class="btn btn-missing p-1 pr-2 pl-2"
@click="createFromTemplate(template);" @click="createFromTemplate(template)"
> >
{{ template.name }} {{ template.name }}
</button> </button>
......
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
data-placement="left" data-placement="left"
class="ide-sidebar-link is-right" class="ide-sidebar-link is-right"
type="button" type="button"
@click="clickTab($event, tab);" @click="clickTab($event, tab)"
> >
<icon :size="16" :name="tab.icon" /> <icon :size="16" :name="tab.icon" />
</button> </button>
......
...@@ -219,7 +219,7 @@ export default { ...@@ -219,7 +219,7 @@ export default {
<a <a
href="javascript:void(0);" href="javascript:void(0);"
role="button" role="button"
@click.prevent="setFileViewMode({ file, viewMode: 'editor' });" @click.prevent="setFileViewMode({ file, viewMode: 'editor' })"
> >
<template v-if="viewer === $options.viewerTypes.edit"> <template v-if="viewer === $options.viewerTypes.edit">
{{ __('Edit') }} {{ __('Edit') }}
...@@ -233,7 +233,7 @@ export default { ...@@ -233,7 +233,7 @@ export default {
<a <a
href="javascript:void(0);" href="javascript:void(0);"
role="button" role="button"
@click.prevent="setFileViewMode({ file, viewMode: 'preview' });" @click.prevent="setFileViewMode({ file, viewMode: 'preview' })"
> >
{{ file.previewMode.previewTitle }} {{ file.previewMode.previewTitle }}
</a> </a>
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
active: tab.active, active: tab.active,
disabled: tab.pending, disabled: tab.pending,
}" }"
@click="clickFile(tab);" @click="clickFile(tab)"
@mouseover="mouseOverTab" @mouseover="mouseOverTab"
@mouseout="mouseOutTab" @mouseout="mouseOutTab"
> >
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
:disabled="tab.pending" :disabled="tab.pending"
type="button" type="button"
class="multi-file-tab-close" class="multi-file-tab-close"
@click.stop.prevent="closeFile(tab);" @click.stop.prevent="closeFile(tab)"
> >
<icon v-if="!showChangedIcon" :size="12" name="close" /> <icon v-if="!showChangedIcon" :size="12" name="close" />
<changed-file-icon v-else :file="tab" /> <changed-file-icon v-else :file="tab" />
......
...@@ -78,8 +78,8 @@ export default { ...@@ -78,8 +78,8 @@ export default {
:min-size="minSize" :min-size="minSize"
:max-size="$options.maxSize" :max-size="$options.maxSize"
:side="side === 'right' ? 'left' : 'right'" :side="side === 'right' ? 'left' : 'right'"
@resize-start="setResizingStatus(true);" @resize-start="setResizingStatus(true)"
@resize-end="setResizingStatus(false);" @resize-end="setResizingStatus(false)"
/> />
</div> </div>
</template> </template>
...@@ -76,8 +76,8 @@ export default { ...@@ -76,8 +76,8 @@ export default {
<button <button
class="selectable btn-blank" class="selectable btn-blank"
type="button" type="button"
@click.stop="removeToken(token);" @click.stop="removeToken(token)"
@keyup.delete="removeToken(token);" @keyup.delete="removeToken(token)"
> >
<div class="value-container rounded"> <div class="value-container rounded">
<div class="value">{{ token.label }}</div> <div class="value">{{ token.label }}</div>
......
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li v-for="stage in stages" :key="stage.name"> <li v-for="stage in stages" :key="stage.name">
<button type="button" class="js-stage-item stage-item" @click="onStageClick(stage);"> <button type="button" class="js-stage-item stage-item" @click="onStageClick(stage)">
{{ stage.name }} {{ stage.name }}
</button> </button>
</li> </li>
......
...@@ -257,8 +257,8 @@ export default { ...@@ -257,8 +257,8 @@ export default {
<template> <template>
<div <div
class="prometheus-graph" class="prometheus-graph"
@mouseover="showFlagContent = true;" @mouseover="showFlagContent = true"
@mouseleave="showFlagContent = false;" @mouseleave="showFlagContent = false"
> >
<div class="prometheus-graph-header"> <div class="prometheus-graph-header">
<h5 class="prometheus-graph-title">{{ graphData.title }}</h5> <h5 class="prometheus-graph-title">{{ graphData.title }}</h5>
...@@ -300,7 +300,7 @@ export default { ...@@ -300,7 +300,7 @@ export default {
:height="graphHeight - 100" :height="graphHeight - 100"
class="prometheus-graph-overlay" class="prometheus-graph-overlay"
transform="translate(-5, 20)" transform="translate(-5, 20)"
@mousemove="handleMouseOverGraph($event);" @mousemove="handleMouseOverGraph($event)"
/> />
</svg> </svg>
<svg v-else :viewBox="innerViewBox" class="js-no-data-to-display"> <svg v-else :viewBox="innerViewBox" class="js-no-data-to-display">
......
...@@ -357,9 +357,9 @@ js-gfm-input js-autosize markdown-area js-vue-textarea qa-comment-input" ...@@ -357,9 +357,9 @@ js-gfm-input js-autosize markdown-area js-vue-textarea qa-comment-input"
data-supports-quick-actions="true" data-supports-quick-actions="true"
aria-label="Description" aria-label="Description"
placeholder="Write a comment or drag your files here…" placeholder="Write a comment or drag your files here…"
@keydown.up="editCurrentUserLastNote();" @keydown.up="editCurrentUserLastNote()"
@keydown.meta.enter="handleSave();" @keydown.meta.enter="handleSave()"
@keydown.ctrl.enter="handleSave();" @keydown.ctrl.enter="handleSave()"
> >
</textarea> </textarea>
</markdown-field> </markdown-field>
...@@ -373,7 +373,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown" ...@@ -373,7 +373,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown"
class="btn btn-success js-comment-button js-comment-submit-button class="btn btn-success js-comment-button js-comment-submit-button
qa-comment-button" qa-comment-button"
type="submit" type="submit"
@click.prevent="handleSave();" @click.prevent="handleSave()"
> >
{{ __(commentButtonTitle) }} {{ __(commentButtonTitle) }}
</button> </button>
...@@ -394,7 +394,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown" ...@@ -394,7 +394,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown"
<button <button
type="button" type="button"
class="btn btn-transparent" class="btn btn-transparent"
@click.prevent="setNoteType('comment');" @click.prevent="setNoteType('comment')"
> >
<i aria-hidden="true" class="fa fa-check icon"> </i> <i aria-hidden="true" class="fa fa-check icon"> </i>
<div class="description"> <div class="description">
...@@ -408,7 +408,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown" ...@@ -408,7 +408,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown"
<button <button
type="button" type="button"
class="btn btn-transparent qa-discussion-option" class="btn btn-transparent qa-discussion-option"
@click.prevent="setNoteType('discussion');" @click.prevent="setNoteType('discussion')"
> >
<i aria-hidden="true" class="fa fa-check icon"> </i> <i aria-hidden="true" class="fa fa-check icon"> </i>
<div class="description"> <div class="description">
...@@ -429,7 +429,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown" ...@@ -429,7 +429,7 @@ append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown"
]" ]"
:disabled="isToggleStateButtonLoading || isSubmitting" :disabled="isToggleStateButtonLoading || isSubmitting"
:label="issueActionButtonTitle" :label="issueActionButtonTitle"
@click="handleSave(true);" @click="handleSave(true)"
/> />
</div> </div>
</form> </form>
......
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
:class="{ 'is-active': filter.value === currentValue }" :class="{ 'is-active': filter.value === currentValue }"
class="qa-filter-options" class="qa-filter-options"
type="button" type="button"
@click="selectFilter(filter.value);" @click="selectFilter(filter.value)"
> >
{{ filter.title }} {{ filter.title }}
</button> </button>
......
...@@ -174,7 +174,7 @@ export default { ...@@ -174,7 +174,7 @@ export default {
data-placement="bottom" data-placement="bottom"
class="btn award-control" class="btn award-control"
type="button" type="button"
@click="handleAward(awardName);" @click="handleAward(awardName)"
> >
<span v-html="getAwardHTML(awardName)"></span> <span v-html="getAwardHTML(awardName)"></span>
<span class="award-control-text js-counter">{{ awardList.length }}</span> <span class="award-control-text js-counter">{{ awardList.length }}</span>
......
...@@ -219,10 +219,10 @@ export default { ...@@ -219,10 +219,10 @@ export default {
class="note-textarea js-gfm-input js-note-text js-autosize markdown-area js-vue-issue-note-form js-vue-textarea qa-reply-input" class="note-textarea js-gfm-input js-note-text js-autosize markdown-area js-vue-issue-note-form js-vue-textarea qa-reply-input"
aria-label="Description" aria-label="Description"
placeholder="Write a comment or drag your files here…" placeholder="Write a comment or drag your files here…"
@keydown.meta.enter="handleKeySubmit();" @keydown.meta.enter="handleKeySubmit()"
@keydown.ctrl.enter="handleKeySubmit();" @keydown.ctrl.enter="handleKeySubmit()"
@keydown.up="editMyLastNote();" @keydown.up="editMyLastNote()"
@keydown.esc="cancelHandler(true);" @keydown.esc="cancelHandler(true)"
></textarea> ></textarea>
</markdown-field> </markdown-field>
<div class="note-form-actions clearfix"> <div class="note-form-actions clearfix">
...@@ -230,21 +230,21 @@ export default { ...@@ -230,21 +230,21 @@ export default {
:disabled="isDisabled" :disabled="isDisabled"
type="button" type="button"
class="js-vue-issue-save btn btn-success js-comment-button qa-reply-comment-button" class="js-vue-issue-save btn btn-success js-comment-button qa-reply-comment-button"
@click="handleUpdate();" @click="handleUpdate()"
> >
{{ saveButtonTitle }} {{ saveButtonTitle }}
</button> </button>
<button <button
v-if="discussion.resolvable" v-if="discussion.resolvable"
class="btn btn-nr btn-default append-right-10 js-comment-resolve-button" class="btn btn-nr btn-default append-right-10 js-comment-resolve-button"
@click.prevent="handleUpdate(true);" @click.prevent="handleUpdate(true)"
> >
{{ resolveButtonTitle }} {{ resolveButtonTitle }}
</button> </button>
<button <button
class="btn btn-cancel note-edit-cancel js-close-discussion-note-form" class="btn btn-cancel note-edit-cancel js-close-discussion-note-form"
type="button" type="button"
@click="cancelHandler();" @click="cancelHandler()"
> >
Cancel Cancel
</button> </button>
......
...@@ -440,7 +440,7 @@ Please check your network connection and try again.`; ...@@ -440,7 +440,7 @@ Please check your network connection and try again.`;
<button <button
type="button" type="button"
class="btn btn-default ml-sm-2" class="btn btn-default ml-sm-2"
@click="resolveHandler();" @click="resolveHandler()"
> >
<i v-if="isResolving" aria-hidden="true" class="fa fa-spinner fa-spin"></i> <i v-if="isResolving" aria-hidden="true" class="fa fa-spinner fa-spin"></i>
{{ resolveButtonTitle }} {{ resolveButtonTitle }}
......
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
:checked="isEditable" :checked="isEditable"
class="label-bold" class="label-bold"
type="radio" type="radio"
@click="toggleCustomInput(true);" @click="toggleCustomInput(true)"
/> />
<label for="custom"> {{ s__('PipelineSheduleIntervalPattern|Custom') }} </label> <label for="custom"> {{ s__('PipelineSheduleIntervalPattern|Custom') }} </label>
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
:value="cronIntervalPresets.everyDay" :value="cronIntervalPresets.everyDay"
class="label-bold" class="label-bold"
type="radio" type="radio"
@click="toggleCustomInput(false);" @click="toggleCustomInput(false)"
/> />
<label class="label-bold" for="every-day"> {{ __('Every day (at 4:00am)') }} </label> <label class="label-bold" for="every-day"> {{ __('Every day (at 4:00am)') }} </label>
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
:value="cronIntervalPresets.everyWeek" :value="cronIntervalPresets.everyWeek"
class="label-bold" class="label-bold"
type="radio" type="radio"
@click="toggleCustomInput(false);" @click="toggleCustomInput(false)"
/> />
<label class="label-bold" for="every-week"> <label class="label-bold" for="every-week">
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
:value="cronIntervalPresets.everyMonth" :value="cronIntervalPresets.everyMonth"
class="label-bold" class="label-bold"
type="radio" type="radio"
@click="toggleCustomInput(false);" @click="toggleCustomInput(false)"
/> />
<label class="label-bold" for="every-month"> <label class="label-bold" for="every-month">
......
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
:class="{ disabled: isActionDisabled(action) }" :class="{ disabled: isActionDisabled(action) }"
:disabled="isActionDisabled(action)" :disabled="isActionDisabled(action)"
class="js-pipeline-action-link no-btn btn" class="js-pipeline-action-link no-btn btn"
@click="onClickAction(action);" @click="onClickAction(action)"
> >
{{ action.name }} {{ action.name }}
<span v-if="action.scheduled_at" class="pull-right"> <span v-if="action.scheduled_at" class="pull-right">
......
...@@ -108,9 +108,7 @@ export default { ...@@ -108,9 +108,7 @@ export default {
</span> </span>
</li> </li>
<li v-for="result in results" :key="result.id"> <li v-for="result in results" :key="result.id">
<button type="button" @click.prevent="setItem(result.name);"> <button type="button" @click.prevent="setItem(result.name)">{{ result.name }}</button>
{{ result.name }}
</button>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -169,7 +169,7 @@ export default { ...@@ -169,7 +169,7 @@ export default {
</span> </span>
</li> </li>
<li v-for="result in results" :key="result.project_number"> <li v-for="result in results" :key="result.project_number">
<button type="button" @click.prevent="setItem(result);">{{ result.name }}</button> <button type="button" @click.prevent="setItem(result)">{{ result.name }}</button>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -82,9 +82,7 @@ export default { ...@@ -82,9 +82,7 @@ export default {
</span> </span>
</li> </li>
<li v-for="result in results" :key="result.id"> <li v-for="result in results" :key="result.id">
<button type="button" @click.prevent="setItem(result.name);"> <button type="button" @click.prevent="setItem(result.name)">{{ result.name }}</button>
{{ result.name }}
</button>
</li> </li>
</ul> </ul>
</div> </div>
......
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
:aria-label="s__('ContainerRegistry|Remove tag')" :aria-label="s__('ContainerRegistry|Remove tag')"
variant="danger" variant="danger"
class="js-delete-registry d-none d-sm-block float-right" class="js-delete-registry d-none d-sm-block float-right"
@click="handleDeleteRegistry(item);" @click="handleDeleteRegistry(item)"
> >
<icon name="remove" /> <icon name="remove" />
</gl-button> </gl-button>
......
...@@ -26,7 +26,7 @@ export default { ...@@ -26,7 +26,7 @@ export default {
<button <button
type="button" type="button"
class="btn-link btn-blank text-left break-link vulnerability-name-button" class="btn-link btn-blank text-left break-link vulnerability-name-button"
@click="handleIssueClick();" @click="handleIssueClick()"
> >
{{ issue.title }} {{ issue.title }}
</button> </button>
......
...@@ -30,7 +30,7 @@ export default { ...@@ -30,7 +30,7 @@ export default {
<button <button
type="button" type="button"
class="btn-link btn-blank text-left break-link vulnerability-name-button" class="btn-link btn-blank text-left break-link vulnerability-name-button"
@click="openModal({ issue });" @click="openModal({ issue })"
> >
<div v-if="isNew" class="badge badge-danger append-right-5">{{ s__('New') }}</div> <div v-if="isNew" class="badge badge-danger append-right-5">{{ s__('New') }}</div>
{{ issue.name }} {{ issue.name }}
......
...@@ -219,7 +219,7 @@ export default { ...@@ -219,7 +219,7 @@ export default {
name="button" name="button"
type="button" type="button"
class="js-clear-user-status-button clear-user-status btn" class="js-clear-user-status-button clear-user-status btn"
@click="clearStatusInputs();" @click="clearStatusInputs()"
> >
<icon name="close" /> <icon name="close" />
</button> </button>
......
...@@ -102,13 +102,13 @@ export default { ...@@ -102,13 +102,13 @@ export default {
/> />
<div class="title hide-collapsed"> <div class="title hide-collapsed">
{{ __('Time tracking') }} {{ __('Time tracking') }}
<div v-if="!showHelpState" class="help-button float-right" @click="toggleHelpState(true);"> <div v-if="!showHelpState" class="help-button float-right" @click="toggleHelpState(true)">
<i class="fa fa-question-circle" aria-hidden="true"> </i> <i class="fa fa-question-circle" aria-hidden="true"> </i>
</div> </div>
<div <div
v-if="showHelpState" v-if="showHelpState"
class="close-help-button float-right" class="close-help-button float-right"
@click="toggleHelpState(false);" @click="toggleHelpState(false)"
> >
<i class="fa fa-close" aria-hidden="true"> </i> <i class="fa fa-close" aria-hidden="true"> </i>
</div> </div>
......
...@@ -249,7 +249,7 @@ export default { ...@@ -249,7 +249,7 @@ export default {
:class="mergeButtonClass" :class="mergeButtonClass"
type="button" type="button"
class="qa-merge-button" class="qa-merge-button"
@click="handleMergeButtonClick();" @click="handleMergeButtonClick()"
> >
<i v-if="isMakingRequest" class="fa fa-spinner fa-spin" aria-hidden="true"></i> <i v-if="isMakingRequest" class="fa fa-spinner fa-spin" aria-hidden="true"></i>
{{ mergeButtonText }} {{ mergeButtonText }}
...@@ -273,7 +273,7 @@ export default { ...@@ -273,7 +273,7 @@ export default {
<a <a
class="merge_when_pipeline_succeeds qa-merge-when-pipeline-succeeds-option" class="merge_when_pipeline_succeeds qa-merge-when-pipeline-succeeds-option"
href="#" href="#"
@click.prevent="handleMergeButtonClick(true);" @click.prevent="handleMergeButtonClick(true)"
> >
<span class="media"> <span class="media">
<span class="merge-opt-icon" aria-hidden="true" v-html="successSvg"></span> <span class="merge-opt-icon" aria-hidden="true" v-html="successSvg"></span>
...@@ -285,7 +285,7 @@ export default { ...@@ -285,7 +285,7 @@ export default {
<a <a
class="accept-merge-request qa-merge-immediately-option" class="accept-merge-request qa-merge-immediately-option"
href="#" href="#"
@click.prevent="handleMergeButtonClick(false, true);" @click.prevent="handleMergeButtonClick(false, true)"
> >
<span class="media"> <span class="media">
<span class="merge-opt-icon" aria-hidden="true" v-html="warningSvg"></span> <span class="merge-opt-icon" aria-hidden="true" v-html="warningSvg"></span>
......
...@@ -293,8 +293,8 @@ export default { ...@@ -293,8 +293,8 @@ export default {
:title="setTooltipTitle(data)" :title="setTooltipTitle(data)"
class="bar-rect" class="bar-rect"
data-placement="top" data-placement="top"
@mouseover="barHoveredIn(index);" @mouseover="barHoveredIn(index)"
@mouseout="barHoveredOut(index);" @mouseout="barHoveredOut(index)"
/> />
</template> </template>
</g> </g>
......
...@@ -95,7 +95,7 @@ export default { ...@@ -95,7 +95,7 @@ export default {
class="close float-right" class="close float-right"
data-dismiss="modal" data-dismiss="modal"
aria-label="Close" aria-label="Close"
@click="emitCancel($event);" @click="emitCancel($event)"
> >
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
type="button" type="button"
class="btn" class="btn"
data-dismiss="modal" data-dismiss="modal"
@click="emitCancel($event);" @click="emitCancel($event)"
> >
{{ closeButtonLabel }} {{ closeButtonLabel }}
</button> </button>
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
type="button" type="button"
class="btn js-primary-button" class="btn js-primary-button"
data-dismiss="modal" data-dismiss="modal"
@click="emitSubmit($event);" @click="emitSubmit($event)"
> >
{{ primaryButtonLabel }} {{ primaryButtonLabel }}
</button> </button>
......
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
:class="{ :class="{
active: mode === $options.imageViewMode.twoup, active: mode === $options.imageViewMode.twoup,
}" }"
@click="changeMode($options.imageViewMode.twoup);" @click="changeMode($options.imageViewMode.twoup)"
> >
{{ s__('ImageDiffViewer|2-up') }} {{ s__('ImageDiffViewer|2-up') }}
</li> </li>
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
:class="{ :class="{
active: mode === $options.imageViewMode.swipe, active: mode === $options.imageViewMode.swipe,
}" }"
@click="changeMode($options.imageViewMode.swipe);" @click="changeMode($options.imageViewMode.swipe)"
> >
{{ s__('ImageDiffViewer|Swipe') }} {{ s__('ImageDiffViewer|Swipe') }}
</li> </li>
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
:class="{ :class="{
active: mode === $options.imageViewMode.onion, active: mode === $options.imageViewMode.onion,
}" }"
@click="changeMode($options.imageViewMode.onion);" @click="changeMode($options.imageViewMode.onion)"
> >
{{ s__('ImageDiffViewer|Onion skin') }} {{ s__('ImageDiffViewer|Onion skin') }}
</li> </li>
......
...@@ -139,8 +139,8 @@ export default { ...@@ -139,8 +139,8 @@ export default {
class="file-row" class="file-row"
role="button" role="button"
@click="clickFile" @click="clickFile"
@mouseover="toggleHover(true);" @mouseover="toggleHover(true)"
@mouseout="toggleHover(false);" @mouseout="toggleHover(false)"
> >
<div class="file-row-name-container"> <div class="file-row-name-container">
<span ref="textOutput" :style="levelIndentation" class="file-row-name str-truncated"> <span ref="textOutput" :style="levelIndentation" class="file-row-name str-truncated">
......
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
type="button" type="button"
class="close js-modal-close-action" class="close js-modal-close-action"
data-dismiss="modal" data-dismiss="modal"
@click="emitCancel($event);" @click="emitCancel($event)"
> >
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
type="button" type="button"
class="btn js-modal-cancel-action qa-modal-cancel-button" class="btn js-modal-cancel-action qa-modal-cancel-button"
data-dismiss="modal" data-dismiss="modal"
@click="emitCancel($event);" @click="emitCancel($event)"
> >
{{ s__('Modal|Cancel') }} {{ s__('Modal|Cancel') }}
</button> </button>
...@@ -105,7 +105,7 @@ export default { ...@@ -105,7 +105,7 @@ export default {
type="button" type="button"
class="btn js-modal-primary-action qa-modal-primary-button" class="btn js-modal-primary-action qa-modal-primary-button"
data-dismiss="modal" data-dismiss="modal"
@click="emitSubmit($event);" @click="emitSubmit($event)"
> >
{{ footerPrimaryButtonText }} {{ footerPrimaryButtonText }}
</button> </button>
......
...@@ -148,7 +148,7 @@ export default { ...@@ -148,7 +148,7 @@ export default {
:class="action.cssClass" :class="action.cssClass"
container-class="d-inline" container-class="d-inline"
:label="action.label" :label="action.label"
@click="onClickAction(action);" @click="onClickAction(action)"
/> />
</template> </template>
</section> </section>
......
...@@ -78,12 +78,7 @@ export default { ...@@ -78,12 +78,7 @@ export default {
<div class="md-header"> <div class="md-header">
<ul class="nav-links clearfix"> <ul class="nav-links clearfix">
<li :class="{ active: !previewMarkdown }" class="md-header-tab"> <li :class="{ active: !previewMarkdown }" class="md-header-tab">
<button <button class="js-write-link" tabindex="-1" type="button" @click="writeMarkdownTab($event)">
class="js-write-link"
tabindex="-1"
type="button"
@click="writeMarkdownTab($event);"
>
Write Write
</button> </button>
</li> </li>
...@@ -92,7 +87,7 @@ export default { ...@@ -92,7 +87,7 @@ export default {
class="js-preview-link js-md-preview-button" class="js-preview-link js-md-preview-button"
tabindex="-1" tabindex="-1"
type="button" type="button"
@click="previewMarkdownTab($event);" @click="previewMarkdownTab($event)"
> >
Preview Preview
</button> </button>
......
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
active: tab.isActive, active: tab.isActive,
}" }"
> >
<a :class="`js-${scope}-tab-${tab.scope}`" role="button" @click="onTabClick(tab);"> <a :class="`js-${scope}-tab-${tab.scope}`" role="button" @click="onTabClick(tab)">
{{ tab.name }} {{ tab.name }}
<span v-if="shouldRenderBadge(tab.count)" class="badge badge-pill"> {{ tab.count }} </span> <span v-if="shouldRenderBadge(tab.count)" class="badge badge-pill"> {{ tab.count }} </span>
......
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
v-html="note.note_html" v-html="note.note_html"
></div> ></div>
<div v-if="hasMoreCommits" class="flex-list"> <div v-if="hasMoreCommits" class="flex-list">
<div class="system-note-commit-list-toggler flex-row" @click="expanded = !expanded;"> <div class="system-note-commit-list-toggler flex-row" @click="expanded = !expanded">
<icon :name="toggleIcon" :size="8" class="append-right-5" /> <icon :name="toggleIcon" :size="8" class="append-right-5" />
<span>Toggle commit list</span> <span>Toggle commit list</span>
</div> </div>
......
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
<button <button
type="button" type="button"
class="btn-blank btn-link btn-secondary-hover-link" class="btn-blank btn-link btn-secondary-hover-link"
@click="newDateSelected(null);" @click="newDateSelected(null)"
> >
remove remove
</button> </button>
......
...@@ -149,7 +149,7 @@ export default { ...@@ -149,7 +149,7 @@ export default {
}" }"
class="page-item" class="page-item"
> >
<a class="page-link" @click.prevent="changePage(item.title, item.disabled);"> <a class="page-link" @click.prevent="changePage(item.title, item.disabled)">
{{ item.title }} {{ item.title }}
</a> </a>
</li> </li>
......
...@@ -7879,10 +7879,10 @@ prettier@1.13.7: ...@@ -7879,10 +7879,10 @@ prettier@1.13.7:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.13.7.tgz#850f3b8af784a49a6ea2d2eaa7ed1428a34b7281" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.13.7.tgz#850f3b8af784a49a6ea2d2eaa7ed1428a34b7281"
integrity sha512-KIU72UmYPGk4MujZGYMFwinB7lOf2LsDNGSOC8ufevsrPLISrZbNJlWstRi3m0AMuszbH+EFSQ/r6w56RSPK6w== integrity sha512-KIU72UmYPGk4MujZGYMFwinB7lOf2LsDNGSOC8ufevsrPLISrZbNJlWstRi3m0AMuszbH+EFSQ/r6w56RSPK6w==
prettier@1.15.2: prettier@1.15.3:
version "1.15.2" version "1.15.3"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.15.2.tgz#d31abe22afa4351efa14c7f8b94b58bb7452205e" resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.15.3.tgz#1feaac5bdd181237b54dbe65d874e02a1472786a"
integrity sha512-YgPLFFA0CdKL4Eg2IHtUSjzj/BWgszDHiNQAe0VAIBse34148whfdzLagRL+QiKS+YfK5ftB6X4v/MBw8yCoug== integrity sha512-gAU9AGAPMaKb3NNSUUuhhFAS7SCO4ALTN4nRIn6PJ075Qd28Yn2Ig2ahEJWdJwJmlEBTUfC7mMUSFy8MwsOCfg==
pretty-format@^23.6.0: pretty-format@^23.6.0:
version "23.6.0" version "23.6.0"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment