2020-12-23 21:10:24 +00:00
|
|
|
export default (Vue) => {
|
2019-09-24 18:06:05 +00:00
|
|
|
Vue.mixin({
|
|
|
|
provide: {
|
2021-03-10 12:09:14 +00:00
|
|
|
glFeatures:
|
|
|
|
{
|
|
|
|
...window.gon?.features,
|
|
|
|
// TODO: extract into glLicensedFeatures https://gitlab.com/gitlab-org/gitlab/-/issues/322460
|
|
|
|
...window.gon?.licensed_features,
|
|
|
|
} || {},
|
2019-09-24 18:06:05 +00:00
|
|
|
},
|
|
|
|
});
|
|
|
|
};
|