Welcome to mirror list, hosted at ThFree Co, Russian Federation.

actions.js « modal « modules « vuex_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7b209909f695af7cbf9d342c5db4fc6e6dfdf2e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import * as types from './mutation_types';

export const open = ({ commit }, data) => {
  commit(types.OPEN, data);
};

export const close = ({ commit }) => {
  commit(types.CLOSE);
};

export const show = ({ commit }) => {
  commit(types.SHOW);
};

export const hide = ({ commit }) => {
  commit(types.HIDE);
};

// prevent babel-plugin-rewire from generating an invalid default during karma tests
export default () => {};